public void Matches_should_reurn_false_for_NON_GetHandler_action_call_handlers(Type type) { var policy = new GetHandlerUrlPolicy(); var action = new ActionCall(type, null); Assert.IsFalse(policy.Matches(action, null)); }
public void Matches_should_return_true_for_GetHandler_action_call_handlers() { var policy = new GetHandlerUrlPolicy(); var action = new ActionCall(typeof(GetHandler<MockViewModel, MockEntity>), null); Assert.IsTrue(policy.Matches(action, null)); }