def fixture_model(adversarial_class) -> Any:
    """
    Artificial model that allows execute predict function.
    :returns: Artificial ML Model
    """

    class ArtificialModel:
        """
        Model that simulates behaviour of a real ML model.
        """

        def __init__(self) -> None:
            self.x = None
            self.channels_first = False

        def predict(self, x: np.ndarray) -> np.ndarray:
            """
            Predict class of an image.
            :returns: prediction scores for arrays
            """
            self.x = x
            arr = np.zeros(42)
            arr[adversarial_class] = 1
            return np.array([arr])

    return ArtificialModel()

    Artificial model that allows execute predict function.
    :returns: Artificial ML Model
    
tests/attacks/evasion/test_laser_attack.py