### Question:
FlexClientManager extends ManageableComponent { public int getFlexClientCount() { return flexClients.size(); } FlexClientManager();  FlexClientManager(MessageBroker broker);  FlexClientManager(boolean enableManagement, MessageBroker mbroker); String[] getClientIds(); int getFlexClientCount(); long getFlexClientTimeoutMillis(); void setFlexClientTimeoutMillis(long value); MessageBroker getMessageBroker(); FlexClient getFlexClient(String id); FlexClient getFlexClient(String id, boolean createNewIfNotExist); FlexClientOutboundQueueProcessor createOutboundQueueProcessor(FlexClient flexClient, String endpointId); void monitorAsyncPollTimeout(TimeoutAbstractObject asyncPollTimeout); void monitorScheduledFlush(TimeoutAbstractObject scheduledFlushTimeout); @Override void start(); void stop(); static final String TYPE; }### Answer:
@Test public void testGetFlexClientCount() { manager.getFlexClient("client1"); manager.getFlexClient("client2"); Assert.assertEquals(2, manager.getFlexClientCount()); }