@Test
public void testSortMethods() throws Exception {
final AnnotationFinder finder = new AnnotationFinder(new ClassesArchive(Emerald.class)).link();
final List<Annotated<Method>> classes = finder.findMetaAnnotatedMethods(Resource.class);
assertTrue(classes.size() >= 3);
final List<Annotated<Method>> sorted = AnnotationDeployer.sortMethods(classes);
assertTrue(sorted.size() >= 3);