public void Should_Not_Process_When_Runsettings_Created_From_Template()
        {
            var xPathNavigable = new Mock <IXPathNavigable>().Object;

            autoMocker = new AutoMoqer();
            autoMocker.GetMock <IRunSettingsTemplate>().Setup(runSettingsTemplate => runSettingsTemplate.FCCGenerated(xPathNavigable)).Returns(true);

            userRunSettingsService = autoMocker.Create <UserRunSettingsService>();

            Assert.IsNull(userRunSettingsService.AddFCCRunSettings(xPathNavigable, null, null, null));
        }
 public void SetUpSut()
 {
     autoMocker             = new AutoMoqer();
     userRunSettingsService = autoMocker.Create <UserRunSettingsService>();
     mockFileUtil           = autoMocker.GetMock <IFileUtil>();
 }
 public void CreateSut()
 {
     autoMocker = new AutoMoqer();
     autoMocker.SetInstance <IRunSettingsTemplate>(new RunSettingsTemplate());
     userRunSettingsService = autoMocker.Create <UserRunSettingsService>();
 }