Ejemplo n.º 1
0
        public SaveWhingeSteps()
        {
            ApplicationContext = ScenarioContext.Current.Get <WhingePoolApplicationContext>("ApplicationContext");
            Assert.IsNotNull(ApplicationContext);

            WhingeService     = new WhingeService(ApplicationContext);
            WhingePoolService = new WhingePoolService(ApplicationContext);
        }
Ejemplo n.º 2
0
        public void ThenAWhingePoolShouldBeCreated(Table table)
        {
            var whingePool = table.CreateInstance <WhingePoolEntity>();

            WhingePoolService.Save(whingePool);
        }