67686970717273
* Test. */ @Test(expected = IllegalArgumentException.class) public void testNullJmsTemplate() { sut = new QueueTaskHandler(null); }
848586878889909192
oneOf(jmsTemplateMock).getDefaultDestination(); will(returnValue(null)); } }); sut = new QueueTaskHandler(jmsTemplateMock); context.assertIsSatisfied(); }
105106107108109110111112113114
oneOf(jmsTemplateMock).send(with(any(MessageCreator.class))); } }); sut = new QueueTaskHandler(jmsTemplateMock); sut.handleTask(userActionRequestMock); context.assertIsSatisfied(); }