@Test public void test_should_create_service_group() { ServiceGroupRequest serviceGroupRequest = prepareServiceGroupRequest(); serviceGroupService.create(serviceGroupRequest); verify(serviceGroupRepository).persistCreateServiceGroup(serviceGroupRequest); }
public ServiceGroupRequest create(final ServiceGroupRequest serviceGroupRequest) { logger.info("Persisting service group record"); return categoryRepository.persistCreateServiceGroup(serviceGroupRequest); }
ServiceGroupService { public ServiceGroupRequest create(final ServiceGroupRequest serviceGroupRequest) { logger.info("Persisting service group record"); return categoryRepository.persistCreateServiceGroup(serviceGroupRequest); } }
ServiceGroupService { public ServiceGroupRequest create(final ServiceGroupRequest serviceGroupRequest) { logger.info("Persisting service group record"); return categoryRepository.persistCreateServiceGroup(serviceGroupRequest); }  }
ServiceGroupService { public ServiceGroupRequest create(final ServiceGroupRequest serviceGroupRequest) { logger.info("Persisting service group record"); return categoryRepository.persistCreateServiceGroup(serviceGroupRequest); }  ServiceGroupRequest create(final ServiceGroupRequest serviceGroupRequest); ServiceGroupRequest update(final ServiceGroupRequest serviceGroupRequest); ServiceGroup createCategory(final String topic, final String key,
                                       final ServiceGroupRequest serviceGroupRequest); ServiceGroup updateCategory(final String topic, final String key,
                                       final ServiceGroupRequest serviceGroupRequest); List<ServiceGroup> getAllServiceGroup(ServiceGroupGetRequest serviceGroupGetRequest); boolean verifyRequestUniqueness(ServiceGroupRequest serviceGroupRequest, String action); boolean verifyIfNameAlreadyExists(ServiceGroupRequest serviceGroupRequest, String action); boolean verifyIfCodeAlreadyExists(ServiceGroupRequest serviceGroupRequest, String action); }
ServiceGroupService { public ServiceGroupRequest create(final ServiceGroupRequest serviceGroupRequest) { logger.info("Persisting service group record"); return categoryRepository.persistCreateServiceGroup(serviceGroupRequest); }  ServiceGroupRequest create(final ServiceGroupRequest serviceGroupRequest); ServiceGroupRequest update(final ServiceGroupRequest serviceGroupRequest); ServiceGroup createCategory(final String topic, final String key,
                                       final ServiceGroupRequest serviceGroupRequest); ServiceGroup updateCategory(final String topic, final String key,
                                       final ServiceGroupRequest serviceGroupRequest); List<ServiceGroup> getAllServiceGroup(ServiceGroupGetRequest serviceGroupGetRequest); boolean verifyRequestUniqueness(ServiceGroupRequest serviceGroupRequest, String action); boolean verifyIfNameAlreadyExists(ServiceGroupRequest serviceGroupRequest, String action); boolean verifyIfCodeAlreadyExists(ServiceGroupRequest serviceGroupRequest, String action); static final Logger logger; }