@Test void saveTest() { Specification genericEntity = new Specification(); when(specificationRepo.save(genericEntity)).thenReturn(genericEntity); assertEquals(genericEntity, specificationService.save(genericEntity)); }
@Override public Specification save(Specification specification) { log.info(LogMessage.IN_SAVE, specification); return specificationRepo.save(specification); }
SpecificationServiceImpl implements SpecificationService { @Override public Specification save(Specification specification) { log.info(LogMessage.IN_SAVE, specification); return specificationRepo.save(specification); } }
SpecificationServiceImpl implements SpecificationService { @Override public Specification save(Specification specification) { log.info(LogMessage.IN_SAVE, specification); return specificationRepo.save(specification); }  }
SpecificationServiceImpl implements SpecificationService { @Override public Specification save(Specification specification) { log.info(LogMessage.IN_SAVE, specification); return specificationRepo.save(specification); }  @Override Specification save(Specification specification); @Override Specification findById(Long id); @Override List<Specification> findAll(); @Override Long deleteById(Long id); @Override Specification findByName(String specificationName); @Override List<SpecificationNameDto> findAllSpecificationDto(); }
SpecificationServiceImpl implements SpecificationService { @Override public Specification save(Specification specification) { log.info(LogMessage.IN_SAVE, specification); return specificationRepo.save(specification); }  @Override Specification save(Specification specification); @Override Specification findById(Long id); @Override List<Specification> findAll(); @Override Long deleteById(Long id); @Override Specification findByName(String specificationName); @Override List<SpecificationNameDto> findAllSpecificationDto();  }