EnvironmentVariableResolver implements Resolver { @Override public String resolve(final String name) { return System.getenv(name); } private  EnvironmentVariableResolver(); @Override String getName(); @Override char getPrefix(); @Override String resolve(final String name); static final EnvironmentVariableResolver INSTANCE; }
@Test public void resolveExistingVariable() { assertThat(resolver.resolve("PATH")).isEqualTo(System.getenv("PATH")); }
@Test public void resolveNonExistentVariable() { assertThat(resolver.resolve("1234567890_MISSING")).isNull(); }