@Test
public void testWriteValueWithIndent() throws Exception {

	file = File.createTempFile("tmp", null);
	JSONUtils.writeValueWithIndent(file, data);
	String result = FileUtils.readFileToString(file);
	assertThat(result.split(System.lineSeparator()), is(new String[] { "{", "  \"a\" : \"b\"", "}" }));
}