ExecutionZeroParamBuilderImpl extends AbstractExecutionBuilder<T> implements ExecutionZeroParamBuilder<T> { @Override public Execution<T> build(DependencyGraph graph) { requireNonNull(executeAction, "No execution has been specified."); return new AbstractExecution<T>( getComponent(), getState(), emptySet(), MissingArgumentStrategy.THROW_EXCEPTION) { @Override public boolean invoke(T component, ClassMapper classMapper) { executeAction.accept(component); return true; } }; } ExecutionZeroParamBuilderImpl(Class<T> component, State state); @Override ExecutionOneParamBuilder<T, P0> withState(
            State state0, Class<P0> param0); @Override ExecutionBuilder<T> withExecute(Consumer<T> executeAction); @Override Execution<T> build(DependencyGraph graph);  }
@Test void build() { builder.withExecute(i -> {}); final Execution<Integer> e = builder.build(dependencyGraph); assertNotNull(e); }