testing library

Test doubles for hosts that build on monolens.

A composer's widget tests cannot host a camera or a platform channel, so every seam monolens exposes has a fake here. Import this from test/ only — it is deliberately not part of package:monolens/monolens.dart.

Classes

FakeCameraSession
A CameraSession that never touches a device.
FakeMediaPicker
A MediaPicker that returns canned media, or null for a cancelled pick.
FakeMonolensPlatform
An in-memory MonolensPlatform.