@Test
public void isWindows() {

    String osName = System.getProperty("os.name").toLowerCase();
    Assert.assertEquals(osName.contains("windows"), SystemInfo.isWindows());
    Assert.assertEquals(osName.contains("linux"), SystemInfo.isLinux());
    Assert.assertEquals(osName.contains("mac"), SystemInfo.isMac());
}