private static void AssertEndpoint(Endpoint expected, EndpointDetails actual)
 {
     Assert.Equal(expected.MonitorType, actual.MonitorType);
     Assert.Equal(expected.Address, actual.Address);
     Assert.Equal(expected.Name, actual.Name);
     Assert.Equal(expected.Group, actual.Group);
     Assert.Equal(expected.Id, actual.Id);
 }
Ejemplo n.º 2
0
 public bool DoesMatch(EndpointDetails endpoint)
 {
     return _filters.All(f => f.Invoke(endpoint));
 }