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