@Override protected void setUp() throws Exception { operationService = DoNothingService.create(); }
public static DoNothingService create() { return new DoNothingService(); }
@Override protected void setUp() throws Exception { operationService = DoNothingService.create(); }
public void testRegister() throws Exception { OperationType operationType = OperationType.BLIP_CONTINUE_THREAD; DoNothingService doNothingService = DoNothingService.create(); operationAccessor.register(operationType, doNothingService); OperationService service = operationAccessor.getServiceFor(operationType); assertEquals(doNothingService, service); } }
public void testRegister() throws Exception { OperationType operationType = OperationType.BLIP_CONTINUE_THREAD; DoNothingService doNothingService = DoNothingService.create(); operationAccessor.register(operationType, doNothingService); OperationService service = operationAccessor.getServiceFor(operationType); assertEquals(doNothingService, service); } }
register(OperationType.ROBOT_NOTIFY, DoNothingService.create()); register(OperationType.ROBOT_NOTIFY_CAPABILITIES_HASH, DoNothingService.create()); register(OperationType.WAVELET_ADD_PARTICIPANT_NEWSYNTAX, ParticipantServices.create()); register(OperationType.WAVELET_APPEND_BLIP, BlipOperationServices.create());