encoder.setContext(context);
encoder.start();
encoder.doEncode(event);
closeQuietly(outputStream);
JsonNode node = MAPPER.readTree(outputStream.toByteArray());
<BUG>assertThat(node.get("thing_one").textValue(), is("One"));

assertThat(node.get("thing_two").textValue(), is("Three"));
</BUG>
}

encoder.setContext(context);
encoder.start();
encoder.doEncode(event);
closeQuietly(outputStream);
JsonNode node = MAPPER.readTree(outputStream.toByteArray());
assertThat(node.get("thing_one").textValue()).isEqualTo("One");
assertThat(node.get("thing_two").textValue()).isEqualTo("Three");
}
