예제 #1
0
            public void Throws_NotSupportedException(string path)
            {
                // ARRANGE
                var    sut = new EmbeddedResourcesFileSystem(Assembly.GetExecutingAssembly());
                Action act = () => sut.Watch(path);

                // ACT
                var ex = Record.Exception(act);

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