question: @ SuppressWarnings ( "unchecked" ) public static < T > T assertInstance ( Object object , Class < T > klass ) { assertTrue ( klass . isInstance ( object ) ) ; return ( T ) object ; }
target:  Asserts that given object an instance of given klass. Returns casted object. 