@Test(expected = IOException.class) public void testJavaNetTransport_notFound() throws IOException { Transport transport = new URLConnectionTransport(); try (InputStream is = transport.open("https://storage.googleapis.com/adx-rtb-dictionaries/doesnt.exist")) {} }
@Test public void testJavaNetTransport() throws IOException { Transport transport = new URLConnectionTransport(); try (InputStream is = transport.open("https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt")) {} }