use of org.jboss.pnc.mock.executor.BuildExecutionSessionMock in project pnc by project-ncl.
the class BuildExecutionTest method createFakeExectionSession.
private BuildExecutionSession createFakeExectionSession(Consumer<TaskStatusUpdateEvent> statusChangeConsumer) {
BuildExecutionSessionMock buildExecutionSession = new BuildExecutionSessionMock(null, (v) -> {
});
buildExecutionSession.setBuildStatusUpdateConsumer(statusChangeConsumer);
return buildExecutionSession;
}
Aggregations