@Test void onlySimpleTypes() { JazonList jazonList = new JazonList("orange", 55, false, 173.50, null); List<JsonExpectationInput> list = jazonList.list(); assertEquals(5, list.size()); assertEquals(new ObjectExpectationInput("orange"), list.get(0)); assertEquals(new ObjectExpectationInput(55), list.get(1)); assertEquals(new ObjectExpectationInput(false), list.get(2)); assertEquals(new ObjectExpectationInput(173.50), list.get(3)); assertEquals(new ObjectExpectationInput(null), list.get(4)); }
public List<JsonExpectationInput> list() { return list; }
JazonList { public List<JsonExpectationInput> list() { return list; } }
JazonList { public List<JsonExpectationInput> list() { return list; } JazonList(Predicate<?>... predicates);  JazonList(Object... objects); }
JazonList { public List<JsonExpectationInput> list() { return list; } JazonList(Predicate<?>... predicates);  JazonList(Object... objects); JazonList with(Object object); JazonList with(Predicate<T> predicate); List<JsonExpectationInput> list(); }
JazonList { public List<JsonExpectationInput> list() { return list; } JazonList(Predicate<?>... predicates);  JazonList(Object... objects); JazonList with(Object object); JazonList with(Predicate<T> predicate); List<JsonExpectationInput> list();  }