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