13 references to Create
Microsoft.AspNetCore.Components.Server.Tests (13)
Circuits\CircuitHostTest.cs (5)
193
var circuitHost = TestCircuitHost.
Create
(handlers: new[] { handler1.Object, handler2.Object });
232
var circuitHost = TestCircuitHost.
Create
(
324
var circuitHost = TestCircuitHost.
Create
(handlers: new[] { handler1.Object, handler2.Object });
372
var circuitHost = TestCircuitHost.
Create
(handlers: new[] { handler1.Object, handler2.Object, handler3.Object });
400
var circuitHost = TestCircuitHost.
Create
();
Circuits\CircuitRegistryTest.cs (6)
20
var circuitHost = TestCircuitHost.
Create
();
158
var circuitHost = TestCircuitHost.
Create
();
175
var circuitHost = TestCircuitHost.
Create
(handlers: new[] { handler.Object });
194
var circuitHost = TestCircuitHost.
Create
(handlers: new[] { handler.Object });
213
var circuitHost = TestCircuitHost.
Create
(handlers: new[] { handler.Object });
312
var circuitHost = TestCircuitHost.
Create
();
Circuits\ComponentHubTest.cs (2)
159
var circuitHost = TestCircuitHost.
Create
(
209
var circuitHost = TestCircuitHost.
Create
(serviceScope: new AsyncServiceScope(serviceScope.Object));