@Test(expected = IOException.class) public void testResourceTransport_notFound() throws IOException { ResourceTransport transport = new ResourceTransport(); try (InputStream is = transport.open("/adx-rtb-dictionaries/doesnt.exist")) {} }
@Test public void testResourceTransport() throws IOException { ResourceTransport transport = new ResourceTransport(); try (InputStream is = transport.open("/adx-rtb-dictionaries/countries.txt")) {} }