ShowTablesCommand extends AbstractCommand { static Matcher matchPublicCmd(String cmd) { return PUBLIC_PATTERN.matcher(cmd); } ShowTablesCommand(String cmd, ExecutionContext cxt, String project);  ShowTablesCommand(String cmd, ExecutionContext cxt, String project, String prefix); static void printUsage(PrintStream stream); @Override void run(); static ShowTablesCommand parse(String cmd, ExecutionContext cxt); static final String[] HELP_TAGS; }
@Test public void testMatchPublicPositive() { for (String cmd : pubPositives) { Assert.assertTrue(ShowTablesCommand.matchPublicCmd(cmd).matches()); } }
@Test public void testMatchPublicNegative() { for (String cmd : pubNegatives) { Assert.assertFalse(ShowTablesCommand.matchPublicCmd(cmd).matches()); } }