17 references to Address
Microsoft.AspNetCore.Mvc.IntegrationTests (17)
FormFileModelBindingIntegrationTest.cs (17)
58
Assert.NotNull(boundPerson.
Address
);
59
var file = Assert.IsAssignableFrom<IFormFile>(boundPerson.
Address
.File);
61
var reader = new StreamReader(boundPerson.
Address
.File.OpenReadStream());
105
Assert.NotNull(boundPerson.
Address
);
106
var file = Assert.IsAssignableFrom<IFormFile>(boundPerson.
Address
.File);
108
using var reader = new StreamReader(boundPerson.
Address
.File.OpenReadStream());
156
Assert.NotNull(boundPerson.
Address
);
157
var file = Assert.IsAssignableFrom<IFormFile>(boundPerson.
Address
.File);
159
using var reader = new StreamReader(boundPerson.
Address
.File.OpenReadStream());
218
Assert.NotNull(boundPerson.
Address
);
219
var file = Assert.IsAssignableFrom<IFormFile>(boundPerson.
Address
.File);
221
using var reader = new StreamReader(boundPerson.
Address
.File.OpenReadStream());
223
Assert.Equal(98056, boundPerson.
Address
.Zip);
436
Assert.NotNull(boundPerson.
Address
);
437
var file = Assert.IsAssignableFrom<IFormFile>(boundPerson.
Address
.File);
439
using var reader = new StreamReader(boundPerson.
Address
.File.OpenReadStream());
441
Assert.Equal(0, boundPerson.
Address
.Zip);