public static String getOS() {
    return System.getProperty( "os.name" );
  }
@Test
  public void testGetOS() {
    final String key = "os.name";
    final String os = System.getProperty( key );
    System.setProperty( key, "BeOS" );
    assertEquals( "BeOS", Const.getOS() );
    System.setProperty( key, os );
  }