@Test public void testInvalidUriDoesNotAddEntry() { SshUriPropertyProcessor sshUriPropertyProcessor = new SshUriPropertyProcessor(SshUri.builder().uri("invalid_uri").build()); Map<String, SshUri> sshKeysByHostname = sshUriPropertyProcessor.getSshKeysByHostname(); assertThat(sshKeysByHostname.values(), hasSize(0)); }
public Map<String, SshUri> getSshKeysByHostname() { return extractNestedProperties(sshUriProperties); }
SshUriPropertyProcessor { public Map<String, SshUri> getSshKeysByHostname() { return extractNestedProperties(sshUriProperties); } }
SshUriPropertyProcessor { public Map<String, SshUri> getSshKeysByHostname() { return extractNestedProperties(sshUriProperties); } SshUriPropertyProcessor(SshUriProperties sshUriProperties); }
SshUriPropertyProcessor { public Map<String, SshUri> getSshKeysByHostname() { return extractNestedProperties(sshUriProperties); } SshUriPropertyProcessor(SshUriProperties sshUriProperties); Map<String, SshUri> getSshKeysByHostname(); }
SshUriPropertyProcessor { public Map<String, SshUri> getSshKeysByHostname() { return extractNestedProperties(sshUriProperties); } SshUriPropertyProcessor(SshUriProperties sshUriProperties); Map<String, SshUri> getSshKeysByHostname();  }