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