public void ShouldReturnFalseWhenThereIsAWriter()
            {
                var routingTable = new RoutingTable(null, new[] { new Uri("neo4j://my-router") },
                                                    new[] { new Uri("neo4j://my-reader") }, new[] { new Uri("neo4j://my-writer") }, 10);

                routingTable.IsReadingInAbsenceOfWriter(AccessMode.Read).Should().BeFalse();
            }
            public void ShouldReturnFalseWhenNoRouters()
            {
                var routingTable = new RoutingTable(null, Enumerable.Empty <Uri>(),
                                                    new[] { new Uri("neo4j://my-reader"), }, new[] { new Uri("neo4j://my-writer"), }, 10);

                routingTable.IsReadingInAbsenceOfWriter(AccessMode.Read).Should().BeFalse();
            }
            public void ShouldReturnTrue()
            {
                var routingTable = new RoutingTable(null, new[] { new Uri("neo4j://my-router") },
                                                    new[] { new Uri("neo4j://my-reader") }, Enumerable.Empty <Uri>(), 10);

                routingTable.IsReadingInAbsenceOfWriter(AccessMode.Read).Should().BeTrue();
            }