@Test
public void findMarshalerFound() throws MarshalingException {

    Assert.assertSame(
        DelegatingMarshalContext.findMarshaler(
            4,
            Arrays.asList(STRING_MARSHALER, INTEGER_MARSHALER)
        ),
        INTEGER_MARSHALER
    );
    Assert.assertSame(
        DelegatingMarshalContext.findMarshaler(
            4,
            Arrays.asList(INTEGER_MARSHALER, STRING_MARSHALER)
        ),
        INTEGER_MARSHALER
    );
}