def METHOD_NAME(self):
    """To test raising an error when trying to create a
    MixedBehavProfile from a game without a tree representation
    """
    self.assertRaises(
        pygambit.UndefinedOperationError, self.game.mixed_behavior_profile, True
    )