public static NetworkPolicyPeer createPeer(Map<String, String> podSelector, LabelSelector namespaceSelector) {
        return new NetworkPolicyPeerBuilder()
                .withNewPodSelector()
                    .withMatchLabels(podSelector)
                .endPodSelector()
                .withNamespaceSelector(namespaceSelector)
                .build();
    }
@Test
    public void testCreatePeerWithPodLabels()   {
        NetworkPolicyPeer peer = NetworkPolicyUtils.createPeer(Map.of("labelKey", "labelValue"));
        assertThat(peer.getNamespaceSelector(), is(nullValue()));
        assertThat(peer.getPodSelector().getMatchLabels(), is(Map.of("labelKey", "labelValue")));
    }