@Override
    public void removeService(String uid) {
        checkArgument(!Strings.isNullOrEmpty(uid), ERR_NULL_SERVICE_UID);

        synchronized (this) {
            if (isServiceInUse(uid)) {
                final String error = String.format(MSG_SERVICE, uid, ERR_IN_USE);
                throw new IllegalStateException(error);
            }

            Service service = k8sServiceStore.removeService(uid);

            if (service != null) {
                log.info(String.format(MSG_SERVICE,
                        service.getMetadata().getName(), MSG_REMOVED));
            }
        }
    }
@Test(expected = IllegalArgumentException.class)
    public void testRemoveServiceWithNull() {
        target.removeService(null);
    }