### Question:
DefaultConverter implements Converter<byte[]> { @Nonnull @Override public byte[] getRawForm(@Nullable byte[] value) { if (value == null) { return "null".getBytes(StandardCharsets.UTF_8); } return value; }  @Nonnull @Override byte[] getRawForm(@Nullable byte[] value);  }### Answer:
@Test public void shouldReturnTheSameContentThatWasPassedIn() throws Exception { byte[] someContent = "test".getBytes(StandardCharsets.UTF_8); Assert.assertThat(new DefaultConverter().getRawForm(someContent), CoreMatchers.equalTo(someContent)); }
@Test public void shouldReturnTheStringNullAsRawFormOnNullValues() throws Exception { final byte[] rawForm = new DefaultConverter().getRawForm(null); Assert.assertThat(rawForm, CoreMatchers.equalTo("null".getBytes(StandardCharsets.UTF_8))); }