### Question:
PropertyVerifier extends MapVerifier { @Override public void setLocalSecrets(Map<String, char[]> localSecrets) { throw new UnsupportedOperationException("Username and password are loading from properties of component."); } PropertyVerifier(ComponentService componentService); String loadCredentialsFromProperties(); @Override int verify(Request request, Response response); @Override void setLocalSecrets(Map<String, char[]> localSecrets); static final String USERNAME_PROP; static final String PASSWORD_PROP; }### Answer:
@Test(expectedExceptions = UnsupportedOperationException.class) public void testSetLocalSecrets() throws Exception { propertyVerifier.setLocalSecrets(null); }