SystemPropertyResolver implements Resolver { @Override public String resolve(final String name) { return System.getProperty(name); } private  SystemPropertyResolver(); @Override String getName(); @Override char getPrefix(); @Override String resolve(final String name); static final SystemPropertyResolver INSTANCE; }
@Test public void resolveExistingProperty() { assertThat(resolver.resolve("java.home")).isEqualTo(System.getProperty("java.home")); }
@Test public void resolveNonExistentProperty() { assertThat(resolver.resolve("1234567890_MISSING")).isNull(); }