14 references to _urlAddresses
Microsoft.AspNetCore.Testing.Tests (14)
FakesExtensionsTests.cs (14)
85
var hostMock = CreateHostMock(
_urlAddresses
);
97
var hostMock = CreateHostMock(
_urlAddresses
);
101
Assert.Equal(
_urlAddresses
[0], client.BaseAddress?.AbsoluteUri);
118
var hostMock = CreateHostMock(
_urlAddresses
);
136
var hostMock = CreateHostMock(
_urlAddresses
);
148
var hostMock = CreateHostMock(
_urlAddresses
);
150
using var client = hostMock.Object.CreateClient(null, x => x.AbsoluteUri ==
_urlAddresses
[1]);
152
Assert.Equal(
_urlAddresses
[1], client.BaseAddress?.AbsoluteUri);
182
var hostMock = CreateHostMock(
_urlAddresses
);
195
var hostMock = CreateHostMock(
_urlAddresses
);
217
var hostMock = CreateHostMock(
_urlAddresses
);
220
address => Assert.Equal(address.AbsoluteUri,
_urlAddresses
[0]),
221
address => Assert.Equal(address.AbsoluteUri,
_urlAddresses
[1]),
222
address => Assert.Equal(address.AbsoluteUri,
_urlAddresses
[2]));