Power Mock with static example:
Manufacturing Code: https://github.com/7droids/PowerMock/blob/master/PowerMock/src/de/sevendroids/java/powermock/sample/PowerMockSampleClassWithStaticMethod.java
Unit Testing Code: https://github.com/7droids/PowerMock/blob/master/PowerMock/test/src/de/sevendroids/java/powermock/sample/PowerMockSampleClassWithStaticMethodTest.java
Manufacturing Code: https://github.com/7droids/PowerMock/blob/master/PowerMock/src/de/sevendroids/java/powermock/sample/PowerMockSampleClassWithStaticMethod.java
Unit Testing Code: https://github.com/7droids/PowerMock/blob/master/PowerMock/test/src/de/sevendroids/java/powermock/sample/PowerMockSampleClassWithStaticMethodTest.java
No comments:
Post a Comment