TypeLoader typeLoader = new PluginTypeLoader(mockPluginMechanism());
Set<AcceptorType> acceptorTypes = typeLoader.loadAcceptorTypes();
Assert.assertEquals(acceptorTypes.size(), 1);
AcceptorType acceptorType = acceptorTypes.iterator().next();
Assert.assertNotNull(acceptorType);
Assert.assertEquals(acceptorType.getName(), "MockAcceptor");
Assert.assertEquals(acceptorType.getDescription(), "Mock Acceptor Description");
Assert.assertEquals(acceptorType.getAcceptorClass(), MockAcceptor.class);
}