DelegateJsonComponent implements JsonComponent { @Override public <ENTITY> JsonEncoder<ENTITY> noneOf(Manager<ENTITY> manager) { return inner.noneOf(manager); } DelegateJsonComponent(ProjectComponent projectComponent); @Override JsonEncoder<ENTITY> noneOf(Manager<ENTITY> manager); @Override JsonEncoder<ENTITY> allOf(Manager<ENTITY> manager); @SafeVarargs @SuppressWarnings("varargs") @Override final JsonEncoder<ENTITY> of(Manager<ENTITY> manager, Field<ENTITY>... fields);  }
@Test void noneOf() { final JsonEncoder<User> encoder = instance.noneOf(userManager); final String actual = encoder.apply(user); assertEquals("{}", actual); }