public void Throws_IOException() { // ARRANGE var sut = new EmbeddedResourcesFileSystem(Assembly.GetExecutingAssembly()); // ACT var ex = Record.Exception(() => sut.MoveFile("/file1.txt", "/to")); // ASSERT Assert.IsType <IOException>(ex); }
public void Throws_IOException() { // ARRANGE var sut = new EmbeddedResourcesFileSystem(Assembly.GetExecutingAssembly()); // ACT var ex = Record.Exception(() => sut.MoveFile("/file1.txt", "/to")); // ASSERT Assert.IsType <IOException>(ex); }