}
private void installFixture(final Object fixture) {
switchUserService.injectInto(fixture);
if (fixture instanceof UserProfileServiceAware) {
final UserProfileServiceAware serviceAware = (UserProfileServiceAware) fixture;
serviceAware.setService(perspectivePersistenceService);
}
if (fixture instanceof InstallableFixture) {
final InstallableFixture installableFixture = (InstallableFixture) fixture;
if (shouldInstallFixture(installableFixture)) {