예제 #1
0
        public void ThenTheValueCalledShouldMatchThePocObjectWithDictionary(string instanceName, Table table)
        {
            PocObjectWithDictionary expected = table.CreateInstance <PocObjectWithDictionary>();
            object actual = this.scenarioContext.Get <object>(instanceName);

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void GivenIHaveAnInstanceOfAPocObjectCalledWithDictionaryCalled(string name, Table table)
        {
            PocObjectWithDictionary obj = table.CreateInstance <PocObjectWithDictionary>();

            this.scenarioContext.Set(obj, name);
        }