Nfield.Services.NfieldRespondentDataEncryptServiceTests.TestEncryption_SurveyId_IsNull_ThrowsArgumentNullException C# (CSharp) Method

TestEncryption_SurveyId_IsNull_ThrowsArgumentNullException() private method

        public void TestEncryption_SurveyId_IsNull_ThrowsArgumentNullException()
        {
            var target = new NfieldRespondentDataEncryptService();
            Assert.Throws<ArgumentNullException>(() => UnwrapAggregateException(target.EncryptData(null, new DataCryptographyModel())));
        }