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

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

            Pod pod = k8sPodStore.removePod(uid);

            if (pod != null) {
                log.info(String.format(MSG_POD,
                        pod.getMetadata().getName(), MSG_REMOVED));
            }
        }
    }
@Test(expected = IllegalArgumentException.class)
    public void testRemovePodWithNull() {
        target.removePod(null);
    }