public void FindMethodNoCriteriaNoDI() { var obj = new SimpleNoCriteriaCreate(); var method = Csla.Reflection.ServiceProviderMethodCaller.FindDataPortalMethod <CreateAttribute>(obj, new object[] { null }); Assert.IsNotNull(method); }
public void FindMethodSingleCriteriaInvalid() { var obj = new SimpleNoCriteriaCreate(); var method = Csla.Reflection.ServiceProviderMethodCaller.FindDataPortalMethod(obj, typeof(CreateAttribute), new object[] { 123 }); Assert.IsNotNull(method); }