@Test
public void findMarshalerBadArguments() throws MarshalingException {

    try {
        DelegatingMarshalContext.findMarshaler(
            null,
            Arrays.asList(INTEGER_MARSHALER, STRING_MARSHALER)
        );
        Assert.fail();
    } catch (NullPointerException ignored) { }
    try {
        DelegatingMarshalContext.findMarshaler(4.0, null);
        Assert.fail();
    } catch (NullPointerException ignored) { }
}