diff options
Diffstat (limited to 'vespajlib/src/test/java/com/yahoo/net/HostnamesTestCase.java')
-rw-r--r-- | vespajlib/src/test/java/com/yahoo/net/HostnamesTestCase.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vespajlib/src/test/java/com/yahoo/net/HostnamesTestCase.java b/vespajlib/src/test/java/com/yahoo/net/HostnamesTestCase.java new file mode 100644 index 00000000000..2e942605e3e --- /dev/null +++ b/vespajlib/src/test/java/com/yahoo/net/HostnamesTestCase.java @@ -0,0 +1,18 @@ +// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package com.yahoo.net; + +import org.junit.Test; + +import static org.junit.Assert.assertFalse; + +/** + * @author Ulf Lilleengen + */ +public class HostnamesTestCase { + + @Test + public void testHostnameIsFound() { + assertFalse(Hostnames.getLocalhost().isEmpty()); + } + +} |