'Setup for Identity Protection Test Cases.
As well as the usual housekeeping, create a set of domains,
users, roles and projects for the subsequent tests:
- Three domains: A,B & C.  C is disabled.
- DomainA has user1, DomainB has user2 and user3
- DomainA has group1 and group2, DomainB has group3
- User1 has two roles on DomainA
- User2 has one role on DomainA
Remember that there will also be a fourth domain in existence,
the default domain.'

def setUp(self):

    self.tempfile = self.useFixture(temporaryfile.SecureTempFile())
    self.tmpfilename = self.tempfile.file_name
    super(IdentityTestProtectedCase, self).setUp()
    self.auth = self.build_authentication_request(user_id=self.user1['id'], password=self.user1['password'])
