MockMainDeployer mainDeployer = new MockMainDeployer();
MainDeployerAdapter adapter = new MainDeployerAdapter();
adapter.setMainDeployer(mainDeployer);
adapter.setAttachmentStore(new MockAttachmentStore());
AbstractController parentController = new AbstractController();
AbstractProfileService profileService = new AbstractProfileService(parentController);
profileService.setDeployer(adapter);
//
profileService.create();
this.profileService = profileService;
}