CallfireApiClient.Tests.Api.Campaigns.BatchesApiTest.UpdateNullId C# (CSharp) Method

UpdateNullId() private method

private UpdateNullId ( ) : void
return void
        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"));
        }