public void should_only_match_calls_with_handler_type_ending_with_handler() { _policy .Matches(HandlersObjectMother.HandlerCall()) .ShouldBeTrue(); _policy .Matches(HandlersObjectMother.NonHandlerCall()) .ShouldBeFalse(); }
public void should_only_match_calls_with_handler_type_ending_with_handler() { var log = new NulloConfigurationObserver(); _policy .Matches(HandlersObjectMother.HandlerCall(), log) .ShouldBeTrue(); _policy .Matches(HandlersObjectMother.NonHandlerCall(), log) .ShouldBeFalse(); }