public void getDeliveryErrors() { getDeliveryErrors function = new getDeliveryErrors() { count = 10 }; AbstractMailrelayReply reply = TestCall(function); Assert.AreEqual(1, reply.status); }
public void functionWithShortDateCanBeUrlEncoded() { string expectedUrlEncoded = $"&function=getDeliveryErrors&date=2000-01-01"; getDeliveryErrors function = new getDeliveryErrors() { date = new DateTime(2000, 1, 1), }; AssertToGet(function, expectedUrlEncoded); }