CredentialConfigParser extends PropertyValueParser { public static boolean isCredentialConfig(final String config) { return isConfig(config) || isParamsOnlyConfig(config); } CredentialConfigParser(final String config); static boolean isCredentialConfig(final String config);  }
@Test(groups = "props", dataProvider = "properties") public void initializeType(final String property, final Object initialized) throws Exception { Assert.assertTrue(CredentialConfigParser.isCredentialConfig(property)); final CredentialConfigParser parser = new CredentialConfigParser(property); Assert.assertEquals(initialized, parser.initializeType()); }