1.use EasyMock to write test case