Exemplo n.º 1
0
        public void WithFileProviderShouldNotThrowExceptionWithValidFileProvider()
        {
            var fileProvider = TestObjectFactory.GetFileProvider();

            MyController <MvcController>
            .Instance()
            .WithoutValidation()
            .Calling(c => c.FileWithFileProvider(fileProvider))
            .ShouldReturn()
            .File()
            .WithFileProvider(fileProvider);
        }