public Property DefaultNamedChannelHandler_should_not_support_any_events(SupportedEvent[] events) { var handler = new NamedChannelHandler("foo"); return events.All(x => !handler.SupportsEvent(x)).ToProperty(); }
public Property AllEventsChannelHandler_should_correctly_report_all_supported_events(SupportedEvent[] events) { var handler = new AllEventsChannelHandler("foo", events); return events.All(x => handler.SupportsEvent(x)).ToProperty(); }