Added testing for findCause inAbstractFailureAnalyzer.

  • findCauseExtendsThrowable and findCauseExtendsOtherException are to check if it is working properly when an exception contains generic class type.
  • findCauseOtherException is to check if it returns null when an exception doesn't contain generic class type.
  • findCauseNullObject is to check if it returns null when providing null as throwable parameter.

Comment From: pivotal-cla

@smoothbear Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@smoothbear Thank you for signing the Contributor License Agreement!

Comment From: snicoll

@smoothbear thank you for making your first contribution to Spring Boot.