@Test @SuppressWarnings("unchecked") public void get() { Map<String, String> map = (Map<String, String>) endpoint.get(); Assert.assertEquals(System.getProperties().size(), map.size()); Assert.assertEquals(System.getProperty("java.version"), map.get("java.version")); }
@Override public Object get() { return new TreeMap<>(System.getProperties()); }
SystemPropsEndpoint implements HttpEndpoint { @Override public Object get() { return new TreeMap<>(System.getProperties()); } }
SystemPropsEndpoint implements HttpEndpoint { @Override public Object get() { return new TreeMap<>(System.getProperties()); }  }
SystemPropsEndpoint implements HttpEndpoint { @Override public Object get() { return new TreeMap<>(System.getProperties()); }  @Override Object get(); @Override Object get(String path); }
SystemPropsEndpoint implements HttpEndpoint { @Override public Object get() { return new TreeMap<>(System.getProperties()); }  @Override Object get(); @Override Object get(String path);  }