@Test public void injectIntoObject() { f2.slime1.setObject(); inject(f1.empty.get(), new ObjectInserter(f2.slime1.get(), "a")); inject(f1.nixValue.get(), new ObjectInserter(f2.slime1.get(), "b")); inject(f1.boolValue.get(), new ObjectInserter(f2.slime1.get(), "c")); inject(f1.longValue.get(), new ObjectInserter(f2.slime1.get(), "d")); inject(f1.doubleValue.get(), new ObjectInserter(f2.slime1.get(), "e")); inject(f1.stringValue.get(), new ObjectInserter(f2.slime1.get(), "f")); inject(f1.dataValue.get(), new ObjectInserter(f2.slime1.get(), "g")); inject(f1.arrayValue.get(), new ObjectInserter(f2.slime1.get(), "h")); inject(f1.objectValue.get(), new ObjectInserter(f2.slime1.get(), "i")); assertEquals(f1.empty.get().toString(), f2.slime1.get().field("a").toString()); assertEquals(f1.nixValue.get().toString(), f2.slime1.get().field("b").toString()); assertEquals(f1.boolValue.get().toString(), f2.slime1.get().field("c").toString()); assertEquals(f1.longValue.get().toString(), f2.slime1.get().field("d").toString()); assertEquals(f1.doubleValue.get().toString(), f2.slime1.get().field("e").toString()); assertEquals(f1.stringValue.get().toString(), f2.slime1.get().field("f").toString()); assertEquals(f1.dataValue.get().toString(), f2.slime1.get().field("g").toString()); assertEquals(f1.arrayValue.get().toString(), f2.slime1.get().field("h").toString()); assertEqualTo(f1.objectValue.get(), f2.slime1.get().field("i")); }
public void inject(Inspector inspector, Inserter inserter) { if (inspector.valid()) { injectValue(inserter, inspector, null); } }
Injector { public void inject(Inspector inspector, Inserter inserter) { if (inspector.valid()) { injectValue(inserter, inspector, null); } } }
Injector { public void inject(Inspector inspector, Inserter inserter) { if (inspector.valid()) { injectValue(inserter, inspector, null); } }  }
Injector { public void inject(Inspector inspector, Inserter inserter) { if (inspector.valid()) { injectValue(inserter, inspector, null); } }  void inject(Inspector inspector, Inserter inserter); }
Injector { public void inject(Inspector inspector, Inserter inserter) { if (inspector.valid()) { injectValue(inserter, inspector, null); } }  void inject(Inspector inspector, Inserter inserter);  }