private ServiceDefinitionImpl createService() {
return new ServiceDefinitionImpl(TEST_SERVICE_NAME, createStructure());
}
public void testGetName() {
ServiceDefinitionImpl service = createService();
assertEquals("ServiceDefinitionImpl#getName returned the wrong name",
TEST_SERVICE_NAME,
service.getName());
}