All Downloads are FREE. Search and download functionalities are using the official Maven repository.

no.nav.sbl.dialogarena.test.FasitAssumption Maven / Gradle / Ivy

package no.nav.sbl.dialogarena.test;

import java.io.IOException;
import java.net.InetAddress;

import static org.junit.Assume.assumeNoException;
import static org.junit.Assume.assumeTrue;

public class FasitAssumption {

    public static void assumeFasitAccessible() {
        try {
            assumeTrue(InetAddress.getByName("fasit.adeo.no").isReachable(5000));
        } catch (IOException e) {
            assumeNoException(e);
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy