Currently CollectionReference, DocumentReference, DocumentSnapshot don't provide an interface which makes these difficult to be mocked for Unit Testing.
Is there any plan to add the same or any workaround available?
A PR for similar purpose was merged in the Java library : Java PR 3562