@Test
/**
 * Tests if the TagXMLWriter output file is equals to the target file. 
 */
public void testWriteDefaultFileToPhysicalFile() throws Exception {

	File outputFile = File.createTempFile(TEST_BASE_OUTPUT_FILE, "");
	TagXMLWriter writer = new TagXMLWriter(outputFile);
	writer.write(file);
	assertArrayEquals(
			Files.toByteArray(outputFile),
			FileUtils.resourceToByteArray(TEST_BASE_TARGET_RESOURCE));
}