public void HealthMonitorPushClient_should_start_notifier_if_client_is_provided() { var notifier = new TestablePushClient(Mock.Of <IHealthMonitorClient>(), Mock.Of <ITimeCoordinator>()) .DefineEndpoint(b => b.DefineAddress("a").DefineGroup("b").DefineName("c").DefinePassword("t")) .WithHealthCheck(Mock.Of <IHealthChecker>()) .StartHealthNotifier(); Assert.NotNull(notifier); }
public EndpointDefinitionBuilderTests() { _client = new TestablePushClient(Mock.Of <IHealthMonitorClient>(), Mock.Of <ITimeCoordinator>()); }