### Question:
Violation { public String getPosition() { return htmlElement.getStartLineNumber() + ":" + htmlElement.getStartColumnNumber(); } Violation(Rule rule, HtmlElement htmlElement, String message); Rule getRule(); String getMessage(); String getPosition(); URL getURL(); @Override String toString();  }### Answer:
@Test public void violationKnowsThePosition() throws Exception { Integer lineNumber = 4711; Integer columnNumber = 815; String expectedPosition = lineNumber + ":" + columnNumber; assertEquals(expectedPosition, new Violation(someRule(), someElement(lineNumber, columnNumber), "").getPosition()); }