public async Task InitializeChannelAsync(CancellationToken cancellationToken) { _testHost = new TestHost( _blipTestHostChannelSettings.AssemblyReference, _blipTestHostChannelSettings.MessageTimeout, _blipTestHostChannelSettings.NotificationTimeout ); var eventTrackExtension = Substitute.For <IEventTrackExtension>(); var container = await _testHost.AddRegistrationAndStartAsync(eventTrackExtension); }