public void TestAgent_Should_Save_Info_On_Dynamic_Calls() { var agent = new TestAgent(); ((dynamic)agent).someMethod(); Assert.True(agent.WasCalled("someMethod")); }