public void Should_have_a_default_path() { FirestoreDbFactory.Create().Collection <SampleData>() .CollectionReference.Path.Should().EndWith(nameof(SampleData)); }
public FirestoreTypedCollectionTestBase() { Db = FirestoreDbFactory.Create(); }
public void Should_respect_path() { FirestoreDbFactory.Create().Collection <SampleData>("expectedPath") .CollectionReference.Path.Should().EndWith("expectedPath"); }