### Question:
EgovWebService extends AbstractService { public EgovIntegrationMessage createRequestMessage() { return new EgovWebServiceMessage(new EgovWebServiceMessageHeader( defaultHeader)); } EgovWebService(String id, long defaultTimeout,
            IntegrationDefinition integrationDefinition,
            EgovWebServiceClient client); EgovIntegrationMessage createRequestMessage();  }### Answer:
@Test public void testCreateRequestMessageSucceeds() throws Exception { EgovWebService service = new EgovWebService("test", 5000, integrationDefinition, echoClient); EgovIntegrationMessage requestMessage = service.createRequestMessage(); assertNotNull(requestMessage); assertNotNull(requestMessage.getHeader()); EgovIntegrationMessageHeader header = requestMessage.getHeader(); assertEquals(integrationDefinition.getId(), header.getIntegrationId()); assertEquals(providerOrganization.getId(), header.getProviderOrganizationId()); assertEquals(providerSystem.getId(), header.getProviderSystemId()); assertEquals(providerService.getId(), header.getProviderServiceId()); assertEquals(consumerOrganization.getId(), header.getConsumerOrganizationId()); assertEquals(consumerSystem.getId(), header.getConsumerSystemId()); assertNotNull(requestMessage.getBody()); assertEquals(0, requestMessage.getBody().size()); }