@Test
    public void testSimple () {
        String name = Util.getHostName();
        assertNotNull(name);
    }
Just make sure the static getHostName() method returns something
that looks half sensible.
vespalog/src/test/java/com/yahoo/log/UtilTestCase.java