### Question:
CompletionParser { public String getLastToken() { return _tokens.get(_tokens.size()-1); } CompletionParser(String textTillCarret);  CompletionParser(String textTillCarret, boolean completeQualified); boolean isQualified(); String getStringToParse(); String getToken(int index); int size(); int getStringToParsePosition(); String getStringToReplace(); int getReplacementStart(); String getTextTillCarret(); String getLastToken(); String getAllButFirst();  }### Answer:
@Test public void testGetLastToken() { assertEquals(classUnderTest.getLastToken(), token2); }