Marshaller marshaller = control.createMock(Marshaller.class);
ContextUtils.getJAXBContext().createMarshaller();
EasyMock.expectLastCall().andReturn(marshaller);
marshaller.setProperty(Marshaller.JAXB_FRAGMENT, Boolean.TRUE);
EasyMock.expectLastCall();
IArgumentMatcher matcher = new JAXBEltMatcher();
int len = expectFaultTo ? expectedValues.length : expectedValues.length - 1;
for (int i = 0; i < len; i++) {
if (!requestor || i != 4) {
EasyMock.reportMatcher(matcher);
EasyMock.eq(header);