def METHOD_NAME(self):
    """Test invalid policy type"""
    pbm = PolicyBindingModel.objects.create()
    PolicyBinding.objects.create(target=pbm, policy=self.policy_wrong_type, order=0)
    with self.assertRaises(PolicyEngineException):
        engine = PolicyEngine(pbm, self.user)
        engine.build()