@Override
    public void createNetworkPolicy(NetworkPolicy networkPolicy) {
        checkNotNull(networkPolicy, ERR_NULL_NETWORK_POLICY);
        checkArgument(!Strings.isNullOrEmpty(networkPolicy.getMetadata().getUid()),
                ERR_NULL_NETWORK_POLICY_UID);

        k8sNetworkPolicyStore.createNetworkPolicy(networkPolicy);

        log.info(String.format(MSG_NETWORK_POLICY,
                networkPolicy.getMetadata().getName(), MSG_CREATED));
    }
@Test(expected = NullPointerException.class)
    public void testCreateNullNetworkPolicy() {
        target.createNetworkPolicy(null);
    }