TimelockNamespaces { public int getNumberOfActiveClients() { return services.size(); } TimelockNamespaces(
            MetricsManager metrics,
            Function<String, TimeLockServices> factory,
            Supplier<Integer> maxNumberOfClients); TimeLockServices get(String namespace); Set<Client> getActiveClients(); int getNumberOfActiveClients(); int getMaxNumberOfClients();  }
@Test public void returnsMaxNumberOfClients() { createMaximumNumberOfClients(); assertThat(namespaces.getNumberOfActiveClients()).isEqualTo(DEFAULT_MAX_NUMBER_OF_CLIENTS); }