### Question:
SQLColumn extends SQLCompletion { public String getText() { String text = qualifier != null ? qualifier+"."+name : name; if(hasTextPosition()) { int oldDataPos = endPosition - startPosition; return text.substring(oldDataPos, text.length()); } else { return text; } } SQLColumn(SQLStatementContext parent,  int start);  SQLColumn(SQLStatementContext parent, int start, int end);  SQLColumn(SQLStatementContext parent); void setQualifier(String alias, int pos); void setQualifier(String alias); String getQualifier(); void setColumn(String name, int pos); void setName(String name); String getName(); boolean hasTable(int position); SQLStatement getStatement(); String getText(); String getText(int position); String getText(int position, String option); String[] getCompletions(int position); void setRepeatable(boolean repeatable); boolean isRepeatable(); boolean mustReplace(int position);  }### Answer:
@Test public void testGetText() throws Exception { mockHelper.replayAll(); classUnderTest.setName("aTestString"); assertEquals("aTestString", classUnderTest.getText()); mockHelper.verifyAll(); }