CamelLoader implements Loader { @Override public String key() { return "camel"; }  @Override List<Diagram> load(String input, FileType fileType); @Override String key();  }
@Test public void getKey() { Loader loader = LoaderHelper.getLoader("camel"); assertTrue(loader instanceof CamelLoader); assertEquals("camel", loader.key()); }