public void Call_Method_With_Parameters() { dynamic mimic = new DynamicObjects.Mimic(); dynamic result = mimic.I().Can().Call().Any().Method().I().Want().And().It().Wont().Blow().Up("And", "Any", "Parameter", "I", "Want", 1, 2, 3, 44.99m); Assert.That(result, Is.TypeOf <DynamicObjects.Mimic>()); }
public void Call_Method_With_Parameters() { dynamic mimic = new DynamicObjects.Mimic(); dynamic result = mimic.I().Can().Call().Any().Method().I().Want().And().It().Wont().Blow().Up("And", "Any", "Parameter", "I", "Want", 1, 2, 3, 44.99m); Assert.That(result, Is.TypeOf<DynamicObjects.Mimic>()); }