public void Page_Method() { var call = new LawsLawApiCall(); Assert.False(call.Parameters.ContainsKey("page")); Assert.True(ReferenceEquals(call.Page(1), call)); Assert.Equal(1, call.Parameters["page"]); }