def METHOD_NAME(self):
    self.addCleanup(self._delete_presets)
    initialize_domain_with_default_roles(self.domain)
    for role in UserRole.objects.get_by_domain(self.domain):
        role.is_archived = True
        role.save()
    unarchived_role_count = len(UserRole.objects.get_by_domain(self.domain, include_archived=False))
    self.assertEqual(unarchived_role_count, 0)
    unarchive_roles_for_domain(self.domain)
    unarchived_role_count = len(UserRole.objects.get_by_domain(self.domain, include_archived=False))
    self.assertEqual(unarchived_role_count, 6)