def test_show_staticsite_environment_without_resourcegroup(self):
        self.staticapp_client.list.return_value = [self.app1, self.app2]

        show_staticsite_environment(self.mock_cmd, self.name1,
                                    self.environment1)

        self.staticapp_client.get_static_site_build.assert_called_once_with(
            self.rg1, self.name1, self.environment1)
    def test_show_staticsite_environment_with_resourcegroup(self):
        show_staticsite_environment(self.mock_cmd, self.name1,
                                    self.environment1, self.rg1)

        self.staticapp_client.get_static_site_build.assert_called_once_with(
            self.rg1, self.name1, self.environment1)