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