public void Status_Method()
 {
   var call = new LawsLawApiCall();
   Assert.False(call.Parameters.ContainsKey("status"));
   Assert.True(ReferenceEquals(call.Status(1), call));
   Assert.Equal(1, call.Parameters["status"]);
 }
 public void Status_Method()
 {
   var call = new LawsLawApiCall();
   Assert.True(ReferenceEquals(call.Status(LawStatus.Cancelled), call));
   Assert.Equal(99, call.Parameters["status"]);
   Assert.Equal(3, call.Status(LawStatus.InApproximateProgram).Parameters["status"]);
   Assert.Equal(4, call.Status(LawStatus.InCommitteeProgram).Parameters["status"]);
   Assert.Equal(1, call.Status(LawStatus.Offered).Parameters["status"]);
   Assert.Equal(5, call.Status(LawStatus.OutOfProgram).Parameters["status"]);
   Assert.Equal(8, call.Status(LawStatus.Rejected).Parameters["status"]);
   Assert.Equal(9, call.Status(LawStatus.RejectedOrReturned).Parameters["status"]);
   Assert.Equal(6, call.Status(LawStatus.ReviewFinished).Parameters["status"]);
   Assert.Equal(2, call.Status(LawStatus.ReviewStarted).Parameters["status"]);
   Assert.Equal(7, call.Status(LawStatus.Signed).Parameters["status"]);
 }