@Test(expectedExceptions = NullPointerException.class) public void getApplicationDomain_whenGivenANullURL_thenThrownANullPointerException() throws Exception { simpleUrlToAppDomainConverter.apply(null); }
@Override public String apply(URI uri) { return Assert.requireNonNull(uri, "uri").getHost() + ":" + uri.getPort(); }
SimpleUrlToAppDomainConverter implements Function<URI, String> { @Override public String apply(URI uri) { return Assert.requireNonNull(uri, "uri").getHost() + ":" + uri.getPort(); } }
SimpleUrlToAppDomainConverter implements Function<URI, String> { @Override public String apply(URI uri) { return Assert.requireNonNull(uri, "uri").getHost() + ":" + uri.getPort(); }  }
SimpleUrlToAppDomainConverter implements Function<URI, String> { @Override public String apply(URI uri) { return Assert.requireNonNull(uri, "uri").getHost() + ":" + uri.getPort(); }  @Override String apply(URI uri); }
SimpleUrlToAppDomainConverter implements Function<URI, String> { @Override public String apply(URI uri) { return Assert.requireNonNull(uri, "uri").getHost() + ":" + uri.getPort(); }  @Override String apply(URI uri);  }