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