ExecutionOneParamBuilderImpl extends AbstractExecutionBuilder<T> implements ExecutionOneParamBuilder<T, P0> { @Override public <P1> ExecutionTwoParamBuilder<T, P0, P1> withState( State state1, Class<P1> param1) { return new ExecutionTwoParamBuilderImpl<>( getComponent(), getState(), param0, state0, param1, state1 ); } ExecutionOneParamBuilderImpl(
            Class<T> component, State state,
            Class<P0> param0, State state0); @Override ExecutionTwoParamBuilder<T, P0, P1> withState(
            State state1, Class<P1> param1); @Override ExecutionBuilder<T> withExecute(BiConsumer<T, P0> executeAction); @Override Execution<T> build(DependencyGraph graph);  }
@Test void withState() { final ExecutionTwoParamBuilder<Integer, String, Long> e1 = builder.withState(State.CREATED, Long.class); assertNotNull(e1); }