### Question:
AaiClientPropertiesImpl implements AAIProperties { @Override public URL getEndpoint() throws MalformedURLException { ApplicationContext context = SpringContextHelper.getAppContext(); aaiEndpoint = context.getEnvironment().getProperty("mso.aai.endpoint"); return new URL(aaiEndpoint); } AaiClientPropertiesImpl(); @Override URL getEndpoint(); @Override String getSystemName(); @Override AAIVersion getDefaultVersion(); @Override String getAuth(); @Override String getKey();  }### Answer:
@Test public void getEndpointTest() throws Exception { AaiClientPropertiesImpl aaiClientPropertiesImpl = new AaiClientPropertiesImpl(); String aaiEndpoint = aaiClientPropertiesImpl.getEndpoint().toString(); assertEquals(LOCAL_HOST + wireMockPort, aaiEndpoint); }