### Question:
SystemProperties { public String getOsName() { return getSystemProperty(OS_NAME); }  String getOsName(); String getOsVersion(); String getOsArch(); List<String> getPath();  }### Answer:
@Test public void getOsName() { String original = System.getProperty("os.name"); System.setProperty("os.name", "MacOs"); assertThat(systemProperties.getOsName()).isEqualTo("macos"); System.setProperty("os.name", original); }