コード例 #1
0
        public void ExactMatchMembersAreBound()
        {
            var view = CreateView(Resource.Layout.SimpleLayout);

            var target = new ExactEventSpliceTargetObject();
            Geneticist.Splice(target, view, Application.Context);
            var button = view.FindViewById(Resource.Id.simpleButton);

            var ex = Assert.Throws<NotImplementedException>(() =>
            {
                button.CallOnClick();
            });
            Assert.AreEqual("ExactParametersMethod", ex.Message);
        }
コード例 #2
0
 public void NullSourceDoesNotThrow()
 {
     var target = new ExactEventSpliceTargetObject();
     Geneticist.Splice(target, null, Application.Context);
 }