test_class.declarator: accessTokenService
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private IAccessTokenService accessTokenService;
test_class.type: IAccessTokenService
test_class.var_name: accessTokenService
test_class.file: storage-service/src/test/java/com/stnetix/ariaddna/persistence/services/AccessTokenServiceImplTest.java
test_class.identifier: AccessTokenServiceImplTest
test_case.body: @Test
      public void saveAccessTokenTest() {
          AccessTokenDTO accessTokenDTO = new AccessTokenDTO();
          UUID uuid = UUID.randomUUID();
          accessTokenDTO.setUuid(uuid.toString());
  
          AccessTokenDTO savedAccessToken = accessTokenService.saveToken(accessTokenDTO);
          Assert.assertNotNull(savedAccessToken);
          Assert.assertEquals(accessTokenDTO.getUuid(), savedAccessToken.getUuid());
      }
test_case.class_method_signature: AccessTokenServiceImplTest.saveAccessTokenTest()
test_case.full_signature: @Test public void saveAccessTokenTest()
test_case.identifier: saveAccessTokenTest
test_case.invocations: randomUUID setUuid toString saveToken assertNotNull assertEquals getUuid getUuid
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void saveAccessTokenTest()
focal_class.declarator: transformer
focal_class.modifier: private
focal_class.original_string: private AccessTokenTransformer transformer;
focal_class.type: AccessTokenTransformer
focal_class.var_name: transformer
focal_class.declarator: repository
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private AccessTokenRepository repository;
focal_class.type: AccessTokenRepository
focal_class.var_name: repository
focal_class.file: storage-service/src/main/java/com/stnetix/ariaddna/persistence/services/AccessTokenServiceImpl.java
focal_class.identifier: AccessTokenServiceImpl
focal_class.interfaces: implements IAccessTokenService
focal_class.class_method_signature: AccessTokenServiceImpl.AccessTokenServiceImpl()
focal_class.full_signature: public  AccessTokenServiceImpl()
focal_class.identifier: AccessTokenServiceImpl
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  AccessTokenServiceImpl()
focal_class.class_method_signature: AccessTokenServiceImpl.saveToken(AccessTokenDTO accessTokenDTO)
focal_class.full_signature: @Override public AccessTokenDTO saveToken(AccessTokenDTO accessTokenDTO)
focal_class.identifier: saveToken
focal_class.modifiers: @Override public
focal_class.parameters: (AccessTokenDTO accessTokenDTO)
focal_class.return: AccessTokenDTO
focal_class.signature: AccessTokenDTO saveToken(AccessTokenDTO accessTokenDTO)
focal_class.class_method_signature: AccessTokenServiceImpl.getToken()
focal_class.full_signature: @Override public AccessTokenDTO getToken()
focal_class.identifier: getToken
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: AccessTokenDTO
focal_class.signature: AccessTokenDTO getToken()
focal_class.class_method_signature: AccessTokenServiceImpl.getAllAccessTokens()
focal_class.full_signature: private List<AccessTokenDTO> getAllAccessTokens()
focal_class.identifier: getAllAccessTokens
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: List<AccessTokenDTO>
focal_class.signature: List<AccessTokenDTO> getAllAccessTokens()
focal_method.body: @Override
      public AccessTokenDTO saveToken(AccessTokenDTO accessTokenDTO) {
          AccessToken accessToken = transformer.accessTokenDTOToEntity(accessTokenDTO);
          return transformer.accessTokenEntityToDTO(repository.save(accessToken));
      }
focal_method.class_method_signature: AccessTokenServiceImpl.saveToken(AccessTokenDTO accessTokenDTO)
focal_method.full_signature: @Override public AccessTokenDTO saveToken(AccessTokenDTO accessTokenDTO)
focal_method.identifier: saveToken
focal_method.invocations: accessTokenDTOToEntity accessTokenEntityToDTO save
focal_method.modifiers: @Override public
focal_method.parameters: (AccessTokenDTO accessTokenDTO)
focal_method.return: AccessTokenDTO
focal_method.signature: AccessTokenDTO saveToken(AccessTokenDTO accessTokenDTO)