### Question:
InhibitorCreator implements ArcActionCreator { @Override public InboundArc createInboundArc(Place source, Transition target, List<ArcPoint> arcPoints) { InboundArc arc = new InboundInhibitorArc(source, target); arc.addIntermediatePoints(arcPoints); return arc; }  @Override InboundArc createInboundArc(Place source, Transition target, List<ArcPoint> arcPoints); @Override OutboundArc createOutboundArc(Place target, Transition source, List<ArcPoint> arcPoints); @Override boolean canCreate(S source, T target);  }### Answer:
@Test public void createsCorrectArc() { Place source = new DiscretePlace("", ""); Transition transition = new DiscreteTransition("", ""); InboundArc actual = creator.createInboundArc(source, transition, new LinkedList<ArcPoint>()); InboundArc expected = new InboundInhibitorArc(source, transition); assertEquals(expected, actual); }