### Question:
ResourceUtils { public List<NewResourceHandler> getAlphabeticallyOrderedNewResourceHandlers() { return getNewResourceHandlers(NEW_RESOURCE_HANDLER_COMPARATOR_BY_ALPHABETICAL_ORDER); } @Inject  ResourceUtils(final Classifier classifier,
                         final ManagedInstance<NewResourceHandler> newResourceHandlers); String getBaseFileName(final Path path); static boolean isProjectHandler(final NewResourceHandler handler); static boolean isDefaultProjectHandler(final NewResourceHandler handler); static boolean isPackageHandler(final NewResourceHandler handler); static boolean isUploadHandler(final NewResourceHandler handler); List<NewResourceHandler> getOrderedNewResourceHandlers(); List<NewResourceHandler> getAlphabeticallyOrderedNewResourceHandlers(); static final Comparator<NewResourceHandler> NEW_RESOURCE_HANDLER_COMPARATOR_BY_ORDER; static final Comparator<NewResourceHandler> NEW_RESOURCE_HANDLER_COMPARATOR_BY_ALPHABETICAL_ORDER; }### Answer:
@Test public void getAlphabeticallyOrderedNewResourceHandlersTest() { final List<NewResourceHandler> alphabeticallyOrderedNewResourceHandlers = resourceUtils.getAlphabeticallyOrderedNewResourceHandlers(); assertEquals("a", alphabeticallyOrderedNewResourceHandlers.get(0).getDescription()); assertEquals("A", alphabeticallyOrderedNewResourceHandlers.get(1).getDescription()); assertEquals("b", alphabeticallyOrderedNewResourceHandlers.get(2).getDescription()); assertEquals("B", alphabeticallyOrderedNewResourceHandlers.get(3).getDescription()); assertEquals("c", alphabeticallyOrderedNewResourceHandlers.get(4).getDescription()); assertEquals("C", alphabeticallyOrderedNewResourceHandlers.get(5).getDescription()); }