@Test public void injectIntoSlime() { assertTrue(f1.empty.get().valid()); inject(f1.empty.get(), new SlimeInserter(f2.slime1)); inject(f1.nixValue.get(), new SlimeInserter(f2.slime2)); inject(f1.boolValue.get(), new SlimeInserter(f2.slime3)); inject(f1.longValue.get(), new SlimeInserter(f2.slime4)); inject(f1.doubleValue.get(), new SlimeInserter(f2.slime5)); inject(f1.stringValue.get(), new SlimeInserter(f2.slime6)); inject(f1.dataValue.get(), new SlimeInserter(f2.slime7)); inject(f1.arrayValue.get(), new SlimeInserter(f2.slime8)); inject(f1.objectValue.get(), new SlimeInserter(f2.slime9)); assertEquals(f1.empty.get().toString(), f2.slime1.get().toString()); assertEquals(f1.nixValue.get().toString(), f2.slime2.get().toString()); assertEquals(f1.boolValue.get().toString(), f2.slime3.get().toString()); assertEquals(f1.longValue.get().toString(), f2.slime4.get().toString()); assertEquals(f1.doubleValue.get().toString(), f2.slime5.get().toString()); assertEquals(f1.stringValue.get().toString(), f2.slime6.get().toString()); assertEquals(f1.dataValue.get().toString(), f2.slime7.get().toString()); assertEquals(f1.arrayValue.get().toString(), f2.slime8.get().toString()); assertEqualTo(f1.objectValue.get(), f2.slime9.get()); }
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);  }