@Test
public void testRoundTrip() throws Exception {
final File longJsonExample = new File(this.getClass().getResource("Sample.json").getFile());
final String json = readFileToString(longJsonExample);
final JdomParser jdomParser = new JdomParser();
final JsonRootNode node = jdomParser.parse(json);
final JsonFormatter jsonFormatter = fieldOrderPreservingPrettyJsonFormatter();
final String expected = jsonFormatter.format(node);
assertThat(jdomParser.parse(expected), Matchers.equalTo(node));
}