@Test public void injectIntoArray() { f2.slime1.setArray(); inject(f1.empty.get(), new ArrayInserter(f2.slime1.get())); inject(f1.nixValue.get(), new ArrayInserter(f2.slime1.get())); inject(f1.boolValue.get(), new ArrayInserter(f2.slime1.get())); inject(f1.longValue.get(), new ArrayInserter(f2.slime1.get())); inject(f1.doubleValue.get(), new ArrayInserter(f2.slime1.get())); inject(f1.stringValue.get(), new ArrayInserter(f2.slime1.get())); inject(f1.dataValue.get(), new ArrayInserter(f2.slime1.get())); inject(f1.arrayValue.get(), new ArrayInserter(f2.slime1.get())); inject(f1.objectValue.get(), new ArrayInserter(f2.slime1.get())); assertEquals(f1.empty.get().toString(), f2.slime1.get().entry(0).toString()); assertEquals(f1.nixValue.get().toString(), f2.slime1.get().entry(1).toString()); assertEquals(f1.boolValue.get().toString(), f2.slime1.get().entry(2).toString()); assertEquals(f1.longValue.get().toString(), f2.slime1.get().entry(3).toString()); assertEquals(f1.doubleValue.get().toString(), f2.slime1.get().entry(4).toString()); assertEquals(f1.stringValue.get().toString(), f2.slime1.get().entry(5).toString()); assertEquals(f1.dataValue.get().toString(), f2.slime1.get().entry(6).toString()); assertEquals(f1.arrayValue.get().toString(), f2.slime1.get().entry(7).toString()); assertEqualTo(f1.objectValue.get(), f2.slime1.get().entry(8)); }
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);  }