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

                // ACT
                var ex = Record.Exception(() => sut.DeleteFile("/file1.txt"));

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