verify(applicationContextMock, resource, resourceFile);
}
@Test
public void testReceiveBuilderWithValidatonScriptAndHeader() {
final GroovyJsonMessageValidator validator = new GroovyJsonMessageValidator();
reset(applicationContextMock);
expect(applicationContextMock.getBean("groovyMessageValidator", MessageValidator.class)).andReturn(validator).once();
expect(applicationContextMock.getBean(TestListeners.class)).andReturn(new TestListeners()).once();