@Override
    public Set<ApplicationId> getAppIds() {
        return ImmutableSet.copyOf(registeredIds.asJavaMap().values());
    }
@Test(expected = NullPointerException.class)
    public void testEmpty() {
        idStore = new DistributedApplicationIdStore();
        idStore.getAppIds();
    }