InMemoryClient extends AbstractRoutingClient<LinkedBlockingQueue<Message>> { @Override public String getMessagingType() { return MessagingConstants.FACTORY_IN_MEMORY; } InMemoryClient( InMemoryRoutingContext routingContext, RecipientKind ownerKind ); @Override void setMessageQueue( RoboconfMessageQueue messageQueue ); @Override String getMessagingType();  }
@Test public void testGetMessagingType() { InMemoryClient client = new InMemoryClient( new InMemoryRoutingContext(), RecipientKind.DM ); Assert.assertEquals( MessagingConstants.FACTORY_IN_MEMORY, client.getMessagingType()); }