Ejemplo n.º 1
0
            public void Throws_IOException()
            {
                // ARRANGE
                var sut = new EmbeddedResourcesFileSystem(Assembly.GetExecutingAssembly());

                // ACT
                var ex = Record.Exception(() => sut.SetLastAccessTime("/file1.txt", new DateTime(2020, 01, 01)));

                // ASSERT
                Assert.IsType <IOException>(ex);
            }