public void Init() { _contentFetcher = new Mock<ISparkResourceContentFetcher>(); var sparkJavascriptAction = new SparkJavascriptAction { ActionName = "MyAction", ViewName = "MyView", MasterName = "MyMaster"}; _resource = new SparkResource("MyController", sparkJavascriptAction, _contentFetcher.Object); }
public void Init() { _contentFetcher = new Mock <ISparkResourceContentFetcher>(); var sparkJavascriptAction = new SparkJavascriptAction { ActionName = "MyAction", ViewName = "MyView", MasterName = "MyMaster" }; _resource = new SparkResource("MyController", sparkJavascriptAction, _contentFetcher.Object); }