public void UpdateNullId()
{
var ex = Assert.Throws<ArgumentNullException>(() => Client.BatchesApi.Update(new Batch()));
Assert.That(ex.Message, Is.StringContaining("Value cannot be null"));
Assert.That(ex.Message, Is.StringContaining("Parameter name: batch.id"));
}