@SuppressWarnings("unchecked")
public LogEvent put(int type, Dictionary props) throws IOException { return null; }
});
MockConnection connection = new MockConnection(new URL("http://mock"));
m_task.synchronizeLog(1, input, connection);
String expectedString = event.toRepresentation() + "\n";
String actualString = connection.getString();
assert actualString.equals(expectedString) : "We expected " + expectedString + " but received " + actualString;
}