コード例 #1
0
        public void ProcessCallsProcessor()
        {
            var bundle = new StylesheetBundle("~");
            var processor = new Mock<IBundleProcessor<StylesheetBundle>>();
            bundle.Processor = processor.Object;

            bundle.Process(new CassetteSettings());

            processor.Verify(p => p.Process(bundle, It.IsAny<CassetteSettings>()));
        }
コード例 #2
0
        public void ProcessCallsProcessor()
        {
            var bundle = new StylesheetBundle("~");
            var pipeline = new Mock<IBundlePipeline<StylesheetBundle>>();
            bundle.Pipeline = pipeline.Object;

            bundle.Process(new CassetteSettings());

            pipeline.Verify(p => p.Process(bundle));
        }
コード例 #3
0
ファイル: StylesheetBundle.cs プロジェクト: WS-QA/cassette
        public void ProcessCallsProcessor()
        {
            var bundle   = new StylesheetBundle("~");
            var pipeline = new Mock <IBundlePipeline <StylesheetBundle> >();

            bundle.Pipeline = pipeline.Object;

            bundle.Process(new CassetteSettings());

            pipeline.Verify(p => p.Process(bundle));
        }
コード例 #4
0
        public void ProcessCallsProcessor()
        {
            var bundle    = new StylesheetBundle("~");
            var processor = new Mock <IBundleProcessor <StylesheetBundle> >();

            bundle.Processor = processor.Object;

            bundle.Process(new CassetteSettings());

            processor.Verify(p => p.Process(bundle, It.IsAny <CassetteSettings>()));
        }