}
@Test
public void shouldDeserialiseAndReserialiseIntoTheSameJson() throws IOException {
final View view1 = loadView();
final byte[] json1 = view1.toCompactJson();
<BUG>final View view2 = View.fromJson(json1);
final byte[] json2 = view2.toCompactJson();</BUG>
assertEquals(new String(json1), new String(json2));
}
@Test

}
@Test
public void shouldDeserialiseAndReserialiseIntoTheSameJson() throws IOException {
final View view1 = loadView();
final byte[] json1 = view1.toCompactJson();
final View view2 = new View.Builder().json(json1).build();
final byte[] json2 = view2.toCompactJson();
assertEquals(new String(json1), new String(json2));
}
@Test
