Beispiel #1
0
    public void Matches_Parameter_Type(string methodName, int parameterIndex, Type type)
    {
        var builder = new RestfulApiMethodBuilder(RestfulApiMethod.List);

        builder.MatchParameterType(parameterIndex, type);

        builder.IsMatch(CreateActionModel(methodName)).Should().BeTrue();
    }