@Test
public void shouldRetrievePluginFromName() {

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