public void CheckBothParametersAndThrowException_ParameterIsNull_ThrowsArgumentNullException(object obj1, object obj2)
 {
     Assert.Throws <ArgumentNullException>(() => ThrowingExceptions.CheckBothParametersAndThrowException(obj1, obj2), "ThrowingExceptions.CheckBothParametersAndThrowException should throw an ArgumentNullException.");
 }
 public void CheckBothParametersAndThrowException_ParametersAreNotNull_ReturnsWithoutException(object obj1, object obj2)
 {
     ThrowingExceptions.CheckBothParametersAndThrowException(obj1, obj2);
 }