public void ThenTheValueCalledShouldMatchThePocObjectWithDictionary(string instanceName, Table table) { PocObjectWithDictionary expected = table.CreateInstance <PocObjectWithDictionary>(); object actual = this.scenarioContext.Get <object>(instanceName); Assert.AreEqual(expected, actual); }
public void GivenIHaveAnInstanceOfAPocObjectCalledWithDictionaryCalled(string name, Table table) { PocObjectWithDictionary obj = table.CreateInstance <PocObjectWithDictionary>(); this.scenarioContext.Set(obj, name); }