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