@Test
public final void testProcessNormalNode() {

	Node node =
		new Node(
			new CommonEntityData(1234, 2, timestamp, new OsmUser(23, "someuser"), 0),
			20.12345678, -21.98765432);
	node.getTags().add(new Tag("nodekey", "nodevalue"));
	testNodeWriter.process(node);
	try {
		testBufferedWriter.flush();
	} catch (IOException e) {
		e.printStackTrace();
		fail("IOException");
	}
	String[] strArray = testWriter.toString().split("\\n", 3);
	assertTrue("Node opening element does not match.", strArray[0].matches(nodeOpeningMatch));
	assertTrue("Node tag does not match.", strArray[1].matches(nodeTagMatch));
	assertTrue("Node closing element does not match.", strArray[2].matches(nodeClosingMatch));
}