@Override
    public void updatePort(KubevirtPort port) {
        checkNotNull(port, ERR_NULL_PORT);
        checkArgument(!Strings.isNullOrEmpty(port.macAddress().toString()), ERR_NULL_PORT_MAC);
        checkArgument(!Strings.isNullOrEmpty(port.networkId()), ERR_NULL_PORT_NET_ID);

        kubevirtPortStore.updatePort(port);
        log.debug(String.format(MSG_PORT, port.macAddress().toString(), MSG_UPDATED));
    }
@Test(expected = NullPointerException.class)
    public void testUpdateNullPort() {
        target.updatePort(null);
    }