示例#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);
        }