Skip to content
Prev Previous commit
Next Next commit
Make MockCaptureSession class final
  • Loading branch information
RobertOdrowaz committed Mar 26, 2025
commit 5116bb4f0700c49edeff498c4e1b1dfbe371d6fe
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/// Mock implementation of `FLTCaptureSession` protocol which allows injecting a custom
/// implementation.
class MockCaptureSession: NSObject, FLTCaptureSession {
final class MockCaptureSession: NSObject, FLTCaptureSession {
var setSessionPresetStub: ((AVCaptureSession.Preset) -> Void)?
var beginConfigurationStub: (() -> Void)?
var commitConfigurationStub: (() -> Void)?
Expand Down