@Test
public void testOpen() throws MalformedURLException {

    Heartbeat hb = new Heartbeat(null);
    OnapPDP pdp = new StdPDP();
    assertThatCode(() -> {
        URL url = new URL("http://onap.org");
        hb.openPdpConnection(url, pdp);
    }).doesNotThrowAnyException();
    assertThatCode(() -> {
        URL url = new URL("http://1.2.3.4");
        hb.openPdpConnection(url, pdp);
    }).doesNotThrowAnyException();
    assertThatCode(() -> {
        URL url = new URL("http://fakesite.fakenews");
        hb.openPdpConnection(url, pdp);
    }).doesNotThrowAnyException();
}