@Test
public void testLabelsAndAnnotations() {

	final DefaultIsServicePortSecureResolver sut = new DefaultIsServicePortSecureResolver(
			new KubernetesDiscoveryProperties());
	assertThat(
			sut.resolve(new DefaultIsServicePortSecureResolver.Input(8080, "dummy", new HashMap<String, String>() {
				{
					put("secured", "true");
					put("other", "value");
				}
			}, new HashMap<>()))).isTrue();
	assertThat(
			sut.resolve(new DefaultIsServicePortSecureResolver.Input(1234, "dummy", new HashMap<String, String>() {
				{
					put("other", "value");
					put("secured", "1");
				}
			}, new HashMap<>()))).isTrue();
	assertThat(sut.resolve(new DefaultIsServicePortSecureResolver.Input(4321, "dummy", new HashMap<>(),
			new HashMap<String, String>() {
				{
					put("other1", "value1");
					put("secured", "yes");
					put("other2", "value2");
				}
			}))).isTrue();
}