review comment

This commit is contained in:
nishantmonu51 2014-05-09 23:53:25 +05:30
parent 6be6337ab0
commit 17e994f2e4
1 changed files with 1 additions and 2 deletions

View File

@ -106,8 +106,7 @@ public class DatabaseSegmentManagerTest
@Test @Test
public void testPoll() public void testPoll()
{ {
EasyMock.expect(dbi.withHandle(EasyMock.<HandleCallback>anyObject())).andReturn(testRows); EasyMock.expect(dbi.withHandle(EasyMock.<HandleCallback>anyObject())).andReturn(testRows).times(2);
EasyMock.expect(dbi.withHandle(EasyMock.<HandleCallback>anyObject())).andReturn(testRows);
EasyMock.replay(dbi); EasyMock.replay(dbi);
manager.start(); manager.start();