[InlineData(1, 2, 1, -1, true)] // expire immediately public void ShouldBeStaleInWriteModeIfOnlyHaveOneRouter(int routerCount, int readerCount, int writerCount, long expireAfterSeconds, bool isStale) { var table = new RoutingTable( CreateUriArray(routerCount), CreateUriArray(readerCount), CreateUriArray(writerCount), expireAfterSeconds); table.IsStale(AccessMode.Write).Should().Be(isStale); }