### Question:
GetAuthsCommand extends Command { protected List<String> sortAuthorizations(Authorizations auths) { List<String> list = new ArrayList<>(); for (byte[] auth : auths) { list.add(new String(auth)); } list.sort(String.CASE_INSENSITIVE_ORDER); return list; }  @Override int execute(final String fullCommand, final CommandLine cl, final Shell shellState); @Override String description(); @Override Options getOptions(); @Override int numArgs();  }### Answer:
@Test public void removeAccumuloNamespaceTables() { Authorizations auths = new Authorizations("AAA", "aaa", "bbb", "BBB"); GetAuthsCommand cmd = new GetAuthsCommand(); List<String> sorted = cmd.sortAuthorizations(auths); assertNotNull(sorted); assertEquals(sorted.size(), 4); assertEquals(sorted.get(0), "AAA"); assertEquals(sorted.get(1), "aaa"); assertEquals(sorted.get(2), "BBB"); assertEquals(sorted.get(3), "bbb"); }