-
Task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
The following lines are repeated between multiple test functions:
URL config = getClass().getResource("test-wildfly-config-v1_4.xml");
SecurityFactory<AuthenticationContext> authContext = ElytronXmlParser.parseAuthenticationClientConfiguration(config.toURI());
Assert.assertNotNull(authContext);
The class can be refactored by moving the repeated code to a helper method and then updating the existing code to call the helper method instead.