public void GetBinder_ThrowsArgumentNull_modelType() { ODataModelBinderProvider binderProvider = new ODataModelBinderProvider(); Assert.ThrowsArgumentNull( () => binderProvider.GetBinder(new HttpConfiguration(), modelType: null), "modelType"); }
public void GetBinder_ThrowsArgumentNull_configuration() { ODataModelBinderProvider binderProvider = new ODataModelBinderProvider(); Assert.ThrowsArgumentNull( () => binderProvider.GetBinder(configuration: null, modelType: typeof(int)), "configuration"); }