Jsonya { public static <T extends Map<?,?>> Navigator<T> of(T map) { return new Navigator<T>(map, MutableMap.class); } private  Jsonya(); static Navigator<T> of(T map); static Navigator<T> of(Navigator<T> navigator); static Navigator<MutableMap<Object,Object>> newInstance(); static Navigator<MutableMap<Object,Object>> at(Object ...pathSegments); static Navigator<MutableMap<Object,Object>> newInstanceTranslating(Function<Object,Object> translator); static Navigator<MutableMap<Object,Object>> newInstanceLiteral(); static Navigator<MutableMap<Object,Object>> newInstancePrimitive(); static Object convertToJsonPrimitive(Object x); static boolean isJsonPrimitiveCompatible(Object x); static String render(Object focus);  }
@Test public void testJsonyaDeepSimpleFailure() { try { Jsonya.of(europeMap()).atExisting("euroope"); Asserts.shouldHaveFailedPreviously(); } catch (Exception e) { Asserts.expectedFailureContainsIgnoreCase(e, "euroope", "no", "found"); } }