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

        builder.HasParameter(parameterIndex);

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