def setUp(self):
        super(TestDomainShow, self).setUp()

        self.domain = identity_fakes.FakeDomain.create_one_domain()
        self.domains_mock.get.return_value = self.domain
        # Get the command object to test
        self.cmd = domain.ShowDomain(self.app, None)
    def setUp(self):
        super(TestDomainShow, self).setUp()

        self.domains_mock.get.return_value = fakes.FakeResource(
            None,
            copy.deepcopy(identity_fakes.DOMAIN),
            loaded=True,
        )

        # Get the command object to test
        self.cmd = domain.ShowDomain(self.app, None)