@Test
public void shouldDefaultToEnvironmentVariable() {

    AtomicReference<String> path = new AtomicReference<>();
    observer.onStringValue("path", null, path::set);
    assertThat(path.get()).isEqualTo(System.getenv("PATH"));
    writeConfigLine("path=test");
    assertThat(path.get()).isEqualTo("test");
}