@Test public void testBuilderWithValidDetail() { String iface = "GigabitEthernet1/0"; InboundStep step = InboundStep.builder().setDetail(new InboundStepDetail(iface)).build(); assertEquals(step.getAction(), StepAction.ACCEPTED); assertEquals(step.getDetail().getInterface(), iface); }
public static Builder builder() { return new Builder(); }
InboundStep extends Step<InboundStepDetail> { public static Builder builder() { return new Builder(); } }
InboundStep extends Step<InboundStepDetail> { public static Builder builder() { return new Builder(); } private  InboundStep(InboundStepDetail detail, StepAction action); }
InboundStep extends Step<InboundStepDetail> { public static Builder builder() { return new Builder(); } private  InboundStep(InboundStepDetail detail, StepAction action); static Builder builder(); }
InboundStep extends Step<InboundStepDetail> { public static Builder builder() { return new Builder(); } private  InboundStep(InboundStepDetail detail, StepAction action); static Builder builder();  }