@Test public void testNullSafeOperationsForLabels() { Map<String, String> labels = KubernetesResourceUtil.getOrCreateLabels(configMap1); assertNotNull(labels); assertEquals(Collections.singletonMap("foo-label", "bar-label"), labels); }
@Test public void testNullSafeOperationsForLabels() { Map<String, String> labels = KubernetesResourceUtil.getOrCreateLabels(configMap1); assertNotNull(labels); assertEquals(Collections.singletonMap("foo-label", "bar-label"), labels); }