@Test public void testSingleSshUriProperties() { SshUriPropertyProcessor sshUriPropertyProcessor = new SshUriPropertyProcessor(mainRepoPropertiesFixture()); Map<String, SshUri> sshKeysByHostname = sshUriPropertyProcessor.getSshKeysByHostname(); assertThat(sshKeysByHostname.values(), hasSize(1)); SshUri sshKey = sshKeysByHostname.get(HOST1); assertMainRepo(sshKey); }
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();  }