public void Should_return_stale_if_never_read_before()
        {
            A.CallTo(() => this.reader.GetLastModified(A <string> ._)).Returns(DateTime.UtcNow);
            var vlr = new FileSystemViewLocationResult("here", "there", "everywhere", () => null, "full", this.reader);

            var result = vlr.IsStale();

            result.ShouldBeTrue();
        }
        public void Should_return_stale_if_modified_changed_since_last_read()
        {
            var vlr = new FileSystemViewLocationResult("here", "there", "everywhere", () => null, "full", this.reader);

            A.CallTo(() => this.reader.GetLastModified(A <string> ._)).Returns(DateTime.UtcNow.AddMinutes(-1));
            vlr.Contents();
            A.CallTo(() => this.reader.GetLastModified(A <string> ._)).Returns(DateTime.UtcNow);

            var result = vlr.IsStale();

            result.ShouldBeTrue();
        }