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