METHOD_0 ( ) { doReturn ( new java . util . IDENT_0 < com . IDENT_1 . xwiki . IDENT_2 . IDENT_3 > ( ) ) . when ( this . doc ) . METHOD_1 ( any ( org . xwiki . model . reference . IDENT_4 . class ) ) ; org . IDENT_5 . data . IDENT_6 < org . IDENT_5 . data . IDENT_7 > result = this . component . load ( this . IDENT_8 ) ; "<AssertPlaceHolder>" ; } load ( org . xwiki . IDENT_9 . IDENT_10 ) { try { return METHOD_2 ( ) . newInstance ( document ) ; } catch ( java . lang . IllegalArgumentException | java . lang . reflect . IDENT_11 ex ) { this . logger . info ( STRING_0 , METHOD_3 ( ) , ( document == null ? null : document . METHOD_4 ( ) ) ) ; } catch ( java . lang . IDENT_12 | java . lang . IDENT_13 ex ) { this . logger . error ( STRING_1 , METHOD_3 ( ) , ( document == null ? null : document . METHOD_4 ( ) ) , ex . getMessage ( ) ) ; } return null ; }
org . junit . Assert . assertNull ( result )