Пример #1
0
        public void EnrichWith_WithAnEnricher_AddsEnricherToClient()
        {
            ISensuEnricher enricher = new HostInfoEnricher();
            var            sut      = new MockSensuClient();

            sut.EnrichWith(enricher);
            var enrichers = sut.GetEnrichers();

            Assert.Contains(enricher, enrichers);
        }