use of org.jboss.pnc.bpm.causeway.ProductMilestoneReleaseManager in project pnc by project-ncl.
the class ProductMilestoneReleaseManagerTest method setUp.
@Before
public void setUp() throws CoreException {
milestoneRepository = new ProductMilestoneRepositoryMock();
productMilestoneReleaseRepository = new ProductMilestoneReleaseRepositoryMock();
buildRecordRepository = new BuildRecordRepositoryMock();
buildRecordPushResultRepository = new BuildRecordPushResultRepositoryMock();
MockitoAnnotations.initMocks(this);
when(bpmManager.startTask(any())).then(taskCapture);
releaseManager = new ProductMilestoneReleaseManager(productMilestoneReleaseRepository, bpmManager, new ProductVersionRepositoryMock(), buildRecordRepository, milestoneRepository, buildRecordPushResultRepository, mapper, productMilestoneCloseResultEvent, null, null);
}
Aggregations