@Before
public void setUp() {
owner = ownerCurator.create(new Owner(OWNER_NAME));
Role ownerAdminRole = createAdminRole(owner);
roleCurator.create(ownerAdminRole);
User user = new User("testing user", "pass");
principal = new UserPrincipal("testing user",
new ArrayList<Permission>(permFactory.createPermissions(user,
ownerAdminRole.getPermissions())), false);
setupPrincipal(principal);
ConsumerType ueberCertType = new ConsumerType(ConsumerTypeEnum.UEBER_CERT);
consumerTypeCurator.create(ueberCertType);
contentOverrideValidator = injector.getInstance(ContentOverrideValidator.class);