Searched refs:mockHandler (Results 1 – 1 of 1) sorted by relevance
388 ICommandResultHandler mockHandler = EasyMock.createStrictMock(ICommandResultHandler.class); in testGetLastCommandResult_unknownDevice() local389 mockHandler.notAllocated(); in testGetLastCommandResult_unknownDevice()396 EasyMock.replay(mockHandler); in testGetLastCommandResult_unknownDevice()398 mRemoteClient.sendGetLastCommandResult("foo", mockHandler); in testGetLastCommandResult_unknownDevice()400 EasyMock.verify(mockHandler); in testGetLastCommandResult_unknownDevice()407 ICommandResultHandler mockHandler = EasyMock.createStrictMock(ICommandResultHandler.class); in testGetLastCommandResult_noActiveCommand() local408 mockHandler.noActiveCommand(); in testGetLastCommandResult_noActiveCommand()413 EasyMock.replay(mMockDeviceManager, device, mockHandler); in testGetLastCommandResult_noActiveCommand()422 mRemoteClient.sendGetLastCommandResult("serial", mockHandler); in testGetLastCommandResult_noActiveCommand()425 EasyMock.verify(mockHandler, mMockDeviceManager); in testGetLastCommandResult_noActiveCommand()[all …]