@Test
public void shouldHaveDefaultEncoderIfNullPassedIntoConstructor() {

    assertThat(factory.getDecoder(), is(notNullValue()));
    assertThat(factory.getDecoder(), is(sameInstance(ValueFactory.DEFAULT_DECODER)));
}