public void RegistrationEnd_Method() { var call = new LawsLawApiCall(); Assert.False(call.Parameters.ContainsKey("registration_end")); var date = DateTime.UtcNow; Assert.True(ReferenceEquals(call.RegistrationEnd(date), call)); Assert.Equal(date.RuLawDate(), call.Parameters["registration_end"]); }