@Test
public void twoExpected() {

    String actual = buildMessage(JSONPointer.builder().build().toURIFragment(), INTEGER_CLASS, String.class, Map.class);
    assertEquals("#: expected type is one of String or Map, found: Integer", actual);
}