Mocking dependencies in unit tests using JMockIt

Von Carsten