@Test public void test_should_update_service_group_details() { ServiceGroupRequest serviceGroupRequest = prepareServiceGroupRequest(); serviceGroupService.update(serviceGroupRequest); verify(serviceGroupRepository).persistUpdateServiceGroup(serviceGroupRequest); }
public ServiceGroupRequest update(final ServiceGroupRequest serviceGroupRequest) { logger.info("Updating service group record"); return categoryRepository.persistUpdateServiceGroup(serviceGroupRequest); }
ServiceGroupService { public ServiceGroupRequest update(final ServiceGroupRequest serviceGroupRequest) { logger.info("Updating service group record"); return categoryRepository.persistUpdateServiceGroup(serviceGroupRequest); } }
ServiceGroupService { public ServiceGroupRequest update(final ServiceGroupRequest serviceGroupRequest) { logger.info("Updating service group record"); return categoryRepository.persistUpdateServiceGroup(serviceGroupRequest); }  }
ServiceGroupService { public ServiceGroupRequest update(final ServiceGroupRequest serviceGroupRequest) { logger.info("Updating service group record"); return categoryRepository.persistUpdateServiceGroup(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 update(final ServiceGroupRequest serviceGroupRequest) { logger.info("Updating service group record"); return categoryRepository.persistUpdateServiceGroup(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; }