InstructionTable { public static String[] getSymbols() { return symbolList.toArray(Constants.EMPTY_ARRAY_OF_STRING); }  static String dump(); static StringViewMap<StringView, InstructionType> getTable(); static InstructionType get(StringView symbol); static String[] getSymbols();  }
@Test public void testSymbols() { String[] symbols = InstructionTable.getSymbols(); boolean found1 = false; boolean found2 = false; boolean found3 = false; for (String symbol : symbols) { found1 |= symbol.equals(".end"); found2 |= symbol.equals(".var"); found3 |= symbol.equals(".repeated section"); } assertTrue(found1 && found2 && found3, "Missing expected instructions"); }