ProfileDao profileDao = mock(ProfileDao.class);
profileInstanceManager.setProfileDao(profileDao);
ReferenceDataServiceImpl referenceDaoImplMock = mock(ReferenceDataServiceImpl.class);
profileInstanceManager.setReferenceDataService(referenceDaoImplMock);
SubmissionGateway submissionGateway = mock(SubmissionGateway.class);
profileInstanceManager.setSubmissionGateway(submissionGateway);
ProfileInstance profile = new ProfileInstance(ProfileState.STOPPED);
profile.setProfileSpec(profileSpec);
profile.setSignatureFileVersion(26);