public void RegionalAuthority_Method()
 {
   var call = new LawsLawApiCall();
   Assert.False(call.Parameters.ContainsKey("regional_subject"));
   Assert.True(ReferenceEquals(call.RegionalAuthority(1), call));
   Assert.Equal((long)1, call.Parameters["regional_subject"]);
 }
    public void RegionalAuthority_Method()
    {
      Assert.Throws<ArgumentNullException>(() => ILawsLawApiCallExtensions.RegionalAuthority(null, new RegionalAuthority()));
      Assert.Throws<ArgumentNullException>(() => new LawsLawApiCall().RegionalAuthority(null));

      var call = new LawsLawApiCall();
      Assert.True(ReferenceEquals(call.RegionalAuthority(new RegionalAuthority { Id = 1 }), call));
      Assert.Equal((long) 1, call.Parameters["regional_subject"]);
    }