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>())); }
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)); }
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)); }
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>())); }