Mocking static method callsJAVING·Follow1 min read·Jun 15, 2020--ListenShareJackie Chan’s reaction when he learned to mock static method calls.Very simple example on how we can use method delegation to enable unit testing where there is a dependency to an static method call.