public void Type_Method()
 {
   var call = new LawsLawApiCall();
   Assert.True(ReferenceEquals(call.Type(LawTypes.ConstitutionAmendments), call));
   Assert.Equal(41, call.Parameters["law_type"]);
   Assert.Equal(38, call.Type(LawTypes.Federal).Parameters["law_type"]);
   Assert.Equal(39, call.Type(LawTypes.FederalConstitutional).Parameters["law_type"]);
 }
 public void Type_Method()
 {
   var call = new LawsLawApiCall();
   Assert.False(call.Parameters.ContainsKey("law_type"));
   Assert.True(ReferenceEquals(call.Type(1), call));
   Assert.Equal(1, call.Parameters["law_type"]);
 }