def METHOD_NAME(self):
    """Try to exceed defined limit."""
    domain = Domain.objects.get(name="test.com")
    limit = domain.domainobjectlimit_set.get(name="domain_admins")
    self.assertFalse(limit.is_exceeded())
    user = User.objects.get(username="admin@test2.com")
    values = {
        "username": user.username, "role": user.role,
        "is_active": user.is_active, "email": user.email,
        "quota_act": True, "domains": "test2.com",
        "domains_1": "test.com", "language": "en"
    }
    self.ajax_post(
        reverse("admin:account_change", args=[user.id]),
        values
    )
    self.assertTrue(limit.is_exceeded())
    user = core_factories.UserFactory(
        username="admin1000@test.com", groups=("DomainAdmins", ))
    self.ajax_post(
        reverse("admin:account_change", args=[user.id]),
        values, 400
    )