EasyMock

How to set expectation on void method using easymocks?

November 2, 2009
By admin

Use EasyMock.expectLastCall() method to set expectation on void methods. eg. mock.documentChanged(“Document”); expectLastCall().times(3);
Read more »

Tags:
Posted in EasyMock, J2EE, JUnit | No Comments »

Calendar

    September 2010
    M T W T F S S
    « Jul    
     12345
    6789101112
    13141516171819
    20212223242526
    27282930