test_class.declarator: certificateService
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private ICertificateService certificateService;
test_class.type: ICertificateService
test_class.var_name: certificateService
test_class.file: storage-service/src/test/java/com/stnetix/ariaddna/persistence/services/CertificateServiceImplTest.java
test_class.identifier: CertificateServiceImplTest
test_case.body: @Test
      public void saveTest() throws Exception {
  
          CertificateDTO certificateDTO = new CertificateDTO();
          certificateDTO.setActive(true);
          UUID uuid = UUID.randomUUID();
          certificateDTO.setUuid(uuid.toString());
  
          CertificateDTO savedCertDTO = certificateService.save(certificateDTO);
          assertNotNull(savedCertDTO);
          assertNotNull(savedCertDTO.getId());
  
      }
test_case.class_method_signature: CertificateServiceImplTest.saveTest()
test_case.full_signature: @Test public void saveTest()
test_case.identifier: saveTest
test_case.invocations: setActive randomUUID setUuid toString save assertNotNull assertNotNull getId
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void saveTest()
focal_class.declarator: tranformer
focal_class.modifier: private
focal_class.original_string: private CertificateTransformer tranformer;
focal_class.type: CertificateTransformer
focal_class.var_name: tranformer
focal_class.declarator: repository
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private CertificateRepository repository;
focal_class.type: CertificateRepository
focal_class.var_name: repository
focal_class.file: storage-service/src/main/java/com/stnetix/ariaddna/persistence/services/CertificateServiceImpl.java
focal_class.identifier: CertificateServiceImpl
focal_class.interfaces: implements ICertificateService
focal_class.class_method_signature: CertificateServiceImpl.CertificateServiceImpl()
focal_class.full_signature: public  CertificateServiceImpl()
focal_class.identifier: CertificateServiceImpl
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  CertificateServiceImpl()
focal_class.class_method_signature: CertificateServiceImpl.save(CertificateDTO certificateDTO)
focal_class.full_signature: @Override @Transactional public CertificateDTO save(CertificateDTO certificateDTO)
focal_class.identifier: save
focal_class.modifiers: @Override @Transactional public
focal_class.parameters: (CertificateDTO certificateDTO)
focal_class.return: CertificateDTO
focal_class.signature: CertificateDTO save(CertificateDTO certificateDTO)
focal_class.class_method_signature: CertificateServiceImpl.remove(CertificateDTO certificateDTO)
focal_class.full_signature: @Override public void remove(CertificateDTO certificateDTO)
focal_class.identifier: remove
focal_class.modifiers: @Override public
focal_class.parameters: (CertificateDTO certificateDTO)
focal_class.return: void
focal_class.signature: void remove(CertificateDTO certificateDTO)
focal_class.class_method_signature: CertificateServiceImpl.getActiveCertificates()
focal_class.full_signature: @Override public List<CertificateDTO> getActiveCertificates()
focal_class.identifier: getActiveCertificates
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<CertificateDTO>
focal_class.signature: List<CertificateDTO> getActiveCertificates()
focal_class.class_method_signature: CertificateServiceImpl.getDisableCertificates()
focal_class.full_signature: @Override public List<CertificateDTO> getDisableCertificates()
focal_class.identifier: getDisableCertificates
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<CertificateDTO>
focal_class.signature: List<CertificateDTO> getDisableCertificates()
focal_class.class_method_signature: CertificateServiceImpl.getAllCertificates()
focal_class.full_signature: @Override public List<CertificateDTO> getAllCertificates()
focal_class.identifier: getAllCertificates
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<CertificateDTO>
focal_class.signature: List<CertificateDTO> getAllCertificates()
focal_method.body: @Override
      @Transactional
      public CertificateDTO save(CertificateDTO certificateDTO) {
          Certificate certificate = tranformer.certificateDTOToEntity(certificateDTO);
          return tranformer.certificateEntityToDTO(repository.save(certificate));
      }
focal_method.class_method_signature: CertificateServiceImpl.save(CertificateDTO certificateDTO)
focal_method.full_signature: @Override @Transactional public CertificateDTO save(CertificateDTO certificateDTO)
focal_method.identifier: save
focal_method.invocations: certificateDTOToEntity certificateEntityToDTO save
focal_method.modifiers: @Override @Transactional public
focal_method.parameters: (CertificateDTO certificateDTO)
focal_method.return: CertificateDTO
focal_method.signature: CertificateDTO save(CertificateDTO certificateDTO)