public void test_getInnerCause01_reject_otherType ( ) { Throwable t = new Throwable ( ) ; assertNull ( getInnerCause ( t , Exception . class ) ) ; }
Does not find cause when it is on top of the stack trace and not either the desired type or a subclass of the desired type .