@Test
public void shouldRetrievePluginFromInterface() {

    registry.put("test", plugin);
    final TestInterface test = context.getPlugin(TestInterface.class);
    assertTrue(registry.containsKey("test"));
    assertEquals(plugin, test);
}