METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( STRING_0 ) ) . thenReturn ( null ) ; com . liferay . portal . kernel . bean . IDENT_1 . METHOD_2 ( IDENT_0 ) ; java . lang . String bean = ( ( java . lang . String ) ( com . liferay . portal . kernel . bean . IDENT_1 . METHOD_1 ( STRING_0 ) ) ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_0 , org . mockito . Mockito . times ( 1 ) ) ; } METHOD_1 ( java . lang . Class ) { com . liferay . portal . kernel . bean . IDENT_2 IDENT_3 = com . liferay . portal . kernel . bean . IDENT_1 . METHOD_3 ( ) ; if ( IDENT_3 == null ) { com . liferay . portal . kernel . bean . IDENT_1 . IDENT_4 . error ( STRING_1 ) ; throw new com . liferay . portal . kernel . bean . METHOD_4 ( STRING_2 ) ; } java . lang . Thread IDENT_5 = java . lang . Thread . METHOD_5 ( ) ; java . lang . IDENT_6 IDENT_7 = METHOD_5 . METHOD_6 ( ) ; java . lang . IDENT_6 IDENT_8 = IDENT_3 . METHOD_7 ( ) ; try { if ( IDENT_7 != IDENT_8 ) { METHOD_5 . METHOD_8 ( IDENT_8 ) ; } return IDENT_3 . METHOD_1 ( clazz ) ; } finally { if ( IDENT_7 != IDENT_8 ) { METHOD_5 . METHOD_8 ( IDENT_7 ) ; } } }
org . junit . Assert . assertNull ( bean )