@Test
public void testPortNumbersOnly() {

	final KubernetesDiscoveryProperties properties = new KubernetesDiscoveryProperties();
	properties.getKnownSecurePorts().add(12345);
	final DefaultIsServicePortSecureResolver sut = new DefaultIsServicePortSecureResolver(properties);
	assertThat(sut.resolve(new DefaultIsServicePortSecureResolver.Input(null, "dummy"))).isFalse();
	assertThat(sut.resolve(new DefaultIsServicePortSecureResolver.Input(8080, "dummy"))).isFalse();
	assertThat(sut.resolve(new DefaultIsServicePortSecureResolver.Input(1234, "dummy"))).isFalse();
	assertThat(sut.resolve(new DefaultIsServicePortSecureResolver.Input(443, "dummy"))).isTrue();
	assertThat(sut.resolve(new DefaultIsServicePortSecureResolver.Input(8443, "dummy"))).isTrue();
	assertThat(sut.resolve(new DefaultIsServicePortSecureResolver.Input(12345, "dummy"))).isTrue();
}