@Test
/**
 * Writes a default file to a test file, and compare its contents to the target.
 */
public void testWriteDefaultFileToPhysicalFile() throws Exception {

	File outputFile = File.createTempFile(TEST_BASE_OUTPUT_NAME, "");
	HKXWriter writer = new HKXWriter(outputFile, enumResolver);
	writer.write(file);
	assertArrayEquals(
			Files.toByteArray(outputFile),
			FileUtils.resourceToByteArray(TEST_BASE_REXOURCE_TARGET));
}