public void SetUp()
 {
     mockFarmService = new DynamicMock(typeof(IFarmService));
     reportAction    = new XmlReportAction((IFarmService)mockFarmService.MockInstance);
 }
Esempio n. 2
0
 public void SetUp()
 {
     mockFarmService = new Mock <IFarmService>();
     reportAction    = new XmlReportAction((IFarmService)mockFarmService.Object);
 }