public void TestGetLastModified() { // Arrange AzureBlobFileSystem provider = this.CreateAzureBlobFileSystem(); provider.AddFile("1010/media.jpg", Stream.Null); // Act DateTimeOffset original = provider.GetLastModified("1010/media.jpg"); // Assert Assert.AreNotEqual(original, DateTimeOffset.MinValue); Thread.Sleep(TimeSpan.FromSeconds(1.1)); // Act provider.AddFile("1010/media.jpg", Stream.Null); DateTimeOffset updated = provider.GetLastModified("1010/media.jpg"); // Assert Assert.AreNotEqual(original, updated); }