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); }
public void NullSourceDoesNotThrow() { var target = new ExactEventSpliceTargetObject(); Geneticist.Splice(target, null, Application.Context); }