public void TestBatchUnassignAsync_ModelIsNull_Throws() { var target = new NfieldSamplingPointInterviewerAssignmentsService(); Assert.Throws<ArgumentNullException>(() => UnwrapAggregateException(target.AssignAsync(SurveyId, null))); }