What is the advantage of "companion object" vs static keyword

How to mock companion object and how to overload methods in companion object of a super class companion object?
Can you please show some examples?