@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());
}