METHOD_0 ( ) { METHOD_1 ( new org . oscm . internal . types . exception . METHOD_2 ( ) ) . when ( IDENT_0 ) . METHOD_3 ( METHOD_4 ( org . oscm . internal . IDENT_1 . IDENT_2 . class ) ) ; model . METHOD_5 ( STRING_0 ) ; doReturn ( Boolean . IDENT_3 ) . when ( model ) . METHOD_6 ( ) ; java . lang . String result = IDENT_4 . METHOD_7 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_3 ( METHOD_4 ( org . oscm . internal . IDENT_1 . IDENT_2 . class ) ) ; verify ( IDENT_4 . ui , times ( 1 ) ) . METHOD_8 ( ) ; } METHOD_7 ( ) { if ( ! ( model . METHOD_6 ( ) ) ) { return IDENT_5 ; } if ( ( ( model . METHOD_9 ( ) ) == null ) || ( model . METHOD_9 ( ) . isEmpty ( ) ) ) { METHOD_10 ( null , IDENT_6 . IDENT_7 , IDENT_8 . IDENT_9 ) ; ui . METHOD_8 ( ) ; return IDENT_10 ; } java . util . List < org . oscm . internal . IDENT_1 . IDENT_2 > IDENT_11 = new java . util . ArrayList < org . oscm . internal . IDENT_1 . IDENT_2 > ( ) ; org . oscm . internal . IDENT_1 . IDENT_2 IDENT_12 = new org . oscm . internal . IDENT_1 . METHOD_11 ( ) ; IDENT_12 . METHOD_12 ( model . METHOD_9 ( ) ) ; IDENT_11 . add ( IDENT_12 ) ; try { METHOD_13 ( ) . METHOD_3 ( IDENT_11 ) ; } catch ( org . oscm . internal . types . exception . IDENT_13 e ) { ui . METHOD_14 ( e ) ; ui . METHOD_8 ( ) ; return IDENT_10 ; } model . METHOD_15 ( ) ; METHOD_10 ( null , IDENT_6 . IDENT_14 , IDENT_8 . IDENT_15 , model . METHOD_9 ( ) ) ; return IDENT_5 ; }
org . junit . Assert . assertEquals ( IDENT_8 . IDENT_10 , result )