9 references to CreateModelPublic
Microsoft.AspNetCore.Mvc.Core.Test (9)
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (9)
315
.Setup(o => o.
CreateModelPublic
(bindingContext))
521
var model = binder.
CreateModelPublic
(bindingContext);
539
var exception = Assert.Throws<InvalidOperationException>(() => binder.
CreateModelPublic
(bindingContext));
564
var exception = Assert.Throws<InvalidOperationException>(() => binder.
CreateModelPublic
(bindingContext));
581
var exception = Assert.Throws<InvalidOperationException>(() => binder.
CreateModelPublic
(bindingContext));
603
.Setup(b => b.
CreateModelPublic
(It.IsAny<ModelBindingContext>()))
611
binder.Verify(o => o.
CreateModelPublic
(bindingContext), Times.Never());
625
.Setup(o => o.
CreateModelPublic
(bindingContext))
1674
return
CreateModelPublic
(bindingContext);