Ejemplo n.º 1
0
        public void SetUp()
        {
            _healthCheck = new FakeHealthCheck();

            Mocker.SetConstant <IEnumerable <IProvideHealthCheck> >(new[] { _healthCheck });
            Mocker.SetConstant <ICacheManager>(Mocker.Resolve <CacheManager>());
        }
        public void SetUp()
        {
            _healthCheck = new FakeHealthCheck();

            Mocker.SetConstant <IEnumerable <IProvideHealthCheck> >(new[] { _healthCheck });
            Mocker.SetConstant <ICacheManager>(Mocker.Resolve <CacheManager>());

            Mocker.GetMock <IServerSideNotificationService>()
            .Setup(v => v.GetServerChecks())
            .Returns(new List <Core.HealthCheck.HealthCheck>());
        }