    @Test(expected = NullPointerException.class)
    public void testNumActiveNullEndPoint() {

        SingleThreadedClientServiceCache<Service> cache = newCache();
        cache.getNumActiveInstances(null);
    }