### Question:
PolicyRestPropertiesImpl implements PolicyRestProperties { @Override public URL getEndpoint() { try { return new URL(UrnPropertiesReader.getVariable(POLICY_ENDPOINT)); } catch (MalformedURLException e) { return null; } } PolicyRestPropertiesImpl(); @Override URL getEndpoint(); @Override String getSystemName(); String getClientAuth(); String getAuth(); String getEnvironment(); static final String POLICY_ENDPOINT; static final String POLICY_ENVIRONMENT; static final String POLICY_AUTH; static final String POLICY_CLIENT_AUTH; }### Answer:
@Test public void getEndpointTest() throws MalformedURLException { assertEquals("policy.endpoint", PolicyRestPropertiesImpl.POLICY_ENDPOINT); }