public void Matches_should_return_true_for_GetEntityList_action_call_handlers() { var policy = new ListingHandlerUrlPolicy(); var action = new ActionCall(typeof(ListingHandler<StubViewModel, StubEntity>), null); Assert.IsTrue(policy.Matches(action, null)); }
public void Matches_should_reurn_false_for_NON_GetEntityList_action_call_handlers(Type type) { var policy = new ListingHandlerUrlPolicy(); var action = new ActionCall(type, null); Assert.IsFalse(policy.Matches(action, null)); }