### Question:
DuplicateToAll implements Router { @Override public String getName() { return name; }  @Override Step[] route(Document doc, LinkedHashMap<String, Step> nextSteps); @Override String getName();  }### Answer:
@Test public void testBuilder() { replay(); DuplicateToAll router = new DuplicateToAll.Builder().named("foo").build(); assertEquals("foo", router.getName()); }