aboutsummaryrefslogtreecommitdiffstats
path: root/vespajlib/src/test/java/com/yahoo/net/HostNameTest.java
blob: 2548c3cea60120ff621b8ad8abeacda32fdbf7ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;

public class HostNameTest {

    @Test
    void testHostnameIsFound() {
        assertFalse(HostName.getLocalhost().isEmpty());
    }

}