test_class.declarator: paullService
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private PaullService paullService;
test_class.type: PaullService
test_class.var_name: paullService
test_class.declarator: externalRestService
test_class.modifier: @MockBean
test_class.original_string: @MockBean
      ExternalRestService externalRestService;
test_class.type: ExternalRestService
test_class.var_name: externalRestService
test_class.file: pes-service/src/test/java/fr/sictiam/stela/pesservice/service/PaullServiceTest.java
test_class.identifier: PaullServiceTest
test_case.body: @Test
      public void emailAuth() throws RuntimeException {
          given(externalRestService.authWithEmailPassword("test1@test.fr", "test1password")).willReturn(new GenericAccount());
  
          Assert.assertNotNull(paullService.emailAuth("test1@test.fr", "test1password"));
      }
test_case.class_method_signature: PaullServiceTest.emailAuth()
test_case.full_signature: @Test public void emailAuth()
test_case.identifier: emailAuth
test_case.invocations: willReturn given authWithEmailPassword assertNotNull emailAuth
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void emailAuth()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(PaullGenericController.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(PaullGenericController.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: externalRestService
focal_class.modifier: private
focal_class.original_string: private ExternalRestService externalRestService;
focal_class.type: ExternalRestService
focal_class.var_name: externalRestService
focal_class.file: pes-service/src/main/java/fr/sictiam/stela/pesservice/service/PaullService.java
focal_class.identifier: PaullService
focal_class.class_method_signature: PaullService.PaullService(ExternalRestService externalRestService)
focal_class.full_signature: public  PaullService(ExternalRestService externalRestService)
focal_class.identifier: PaullService
focal_class.modifiers: public
focal_class.parameters: (ExternalRestService externalRestService)
focal_class.signature:  PaullService(ExternalRestService externalRestService)
focal_class.class_method_signature: PaullService.emailAuth(String email, String password)
focal_class.full_signature: public GenericAccount emailAuth(String email, String password)
focal_class.identifier: emailAuth
focal_class.modifiers: public
focal_class.parameters: (String email, String password)
focal_class.return: GenericAccount
focal_class.signature: GenericAccount emailAuth(String email, String password)
focal_method.body: public GenericAccount emailAuth(String email, String password) {
          try {
              return externalRestService.authWithEmailPassword(email, password);
          } catch (RuntimeException e) {
              LOGGER.error("[emailAuth] Authentication with generic account {} failed: {}", email, e.getMessage());
              return null;
          }
      }
focal_method.class_method_signature: PaullService.emailAuth(String email, String password)
focal_method.full_signature: public GenericAccount emailAuth(String email, String password)
focal_method.identifier: emailAuth
focal_method.invocations: authWithEmailPassword error getMessage
focal_method.modifiers: public
focal_method.parameters: (String email, String password)
focal_method.return: GenericAccount
focal_method.signature: GenericAccount emailAuth(String email, String password)