예제 #1
0
            public void Throws_IOException()
            {
                // ARRANGE
                var sut = new EmbeddedResourcesFileSystem(Assembly.GetExecutingAssembly());

                // ACT
                var ex = Record.Exception(() => sut.ReplaceFile("/file1.txt", "/file2.txt", "/backup", false));

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