@Test
public void testOrderPluginsByDependencies() {

  assertEquals(1, loader.comparePluginsByDependencyGraph(DependentPlugin.class, MockPlugin.class));
  assertEquals(-1, loader.comparePluginsByDependencyGraph(MockPlugin.class, DependentPlugin.class));
}