Tag { public String getText() { return text; } Tag(int line, String text); int getLine(); String getText(); String getName(); List<String> getValues(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testGetText() { assertEquals("foo=bar,baz", tag.getText()); }