public void CheckBothStringsAndThrowException_ParameterIsNullOrEmpty_ThrowsArgumentNullException(string str1, string str2) { Assert.Throws <ArgumentNullException>(() => ThrowingExceptions.CheckBothStringsAndThrowException(str1, str2), "ThrowingExceptions.CheckBothStringsAndThrowException should throw an ArgumentNullException."); }
public string CheckBothStringsAndThrowException_ParameterIsNotNullOrEmpty_ReturnWithoutException(string str1, string str2) { return(ThrowingExceptions.CheckBothStringsAndThrowException(str1, str2)); }