@Test
public void testWriteValue() throws Exception {

	file = File.createTempFile("tmp", null);
	JSONUtils.writeValue(file, data);
	String result = FileUtils.readFileToString(file);
	assertThat(result, is("{\"a\":\"b\"}"));
}