public void InvokeMemberThrowsFallbackException() { dynamic alpha = new Object(); dynamic beta = new Clay(new TestMemberBehavior()); var ex1 = Assert.Throws <RuntimeBinderException>(() => alpha.Hello1()); Assert.That(ex1.Message, Is.StringEnding("does not contain a definition for 'Hello1'")); var ex2 = Assert.Throws <RuntimeBinderException>(() => beta.Hello2()); Assert.That(ex2.Message, Is.StringEnding("does not contain a definition for 'Hello2'")); Assert.That(beta.Sample(), Is.EqualTo("Data")); }