public void WhenICreateANewFavouriteList() { if (FavouriteListSteps._scenarioContext.ScenarioInfo.Tags.ToString().Contains("ignore")) { var unitTestRuntimeProvider = (IUnitTestRuntimeProvider) _scenarioContext.GetBindingInstance((typeof(IUnitTestRuntimeProvider))); unitTestRuntimeProvider.TestIgnore("ignored"); } else { _favouriteListId = _favouriteService.Create(_userId); } }
public void WhenICreateANewFavouriteList() { _favouriteListId = _favouriteService.Create(_userId); }