def METHOD_NAME(self, angle):
    with pytest.raises(MagnetostaticsError):
        TrapezoidalPrismCurrentSource(
            np.array([0, 0, 0]),
            np.array([0, 0, 1]),
            np.array([1, 0, 0]),
            np.array([0, 1, 0]),
            0.5,
            0.1,
            angle,
            0.25 * np.pi,
            current=1.0,
        )