METHOD_0 ( ) { System . out . println ( STRING_0 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = METHOD_1 ( ) ; com . IDENT_0 . IDENT_1 . IDENT_5 . business . IDENT_6 instance = new com . IDENT_0 . IDENT_1 . IDENT_5 . business . METHOD_2 ( ) ; boolean found = false ; java . util . List < com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 > list = instance . METHOD_3 ( ) ; for ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 r : list ) { if ( ( ( r . getName ( ) ) != null ) && ( r . getName ( ) . equals ( IDENT_4 . getName ( ) ) ) ) { found = true ; } } if ( found ) { instance . METHOD_4 ( IDENT_4 . getName ( ) , IDENT_4 . METHOD_5 ( ) , null ) ; } java . lang . String expResult = STRING_1 ; java . lang . String result = instance . METHOD_6 ( IDENT_4 , null ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 , java . lang . String ) { try { com . IDENT_0 . IDENT_1 . as . data . IDENT_7 IDENT_8 = IDENT_9 . METHOD_7 ( IDENT_4 . getName ( ) , IDENT_4 . METHOD_5 ( ) ) ; if ( IDENT_8 != null ) { throw new com . IDENT_0 . IDENT_10 . as . common . METHOD_8 ( com . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_12 . IDENT_13 , IDENT_4 . getName ( ) , IDENT_4 . METHOD_5 ( ) ) ; } IDENT_8 = new com . IDENT_0 . IDENT_1 . as . data . METHOD_9 ( ) ; IDENT_8 . setName ( IDENT_4 . getName ( ) ) ; IDENT_8 . METHOD_10 ( IDENT_4 . METHOD_5 ( ) ) ; IDENT_8 . METHOD_11 ( IDENT_4 . METHOD_12 ( ) ) ; if ( ( IDENT_14 != null ) && ( ! ( IDENT_14 . isEmpty ( ) ) ) ) { IDENT_8 . METHOD_13 ( IDENT_14 ) ; } else { IDENT_8 . METHOD_13 ( new com . IDENT_0 . IDENT_15 . IDENT_16 . io . UUID ( ) . toString ( ) ) ; } IDENT_9 . create ( IDENT_8 ) ; } catch ( com . IDENT_0 . IDENT_10 . as . common . METHOD_8 IDENT_17 ) { throw IDENT_17 ; } catch ( java . lang . Exception e ) { com . IDENT_0 . IDENT_1 . IDENT_5 . business . METHOD_2 . log . error ( STRING_2 , e ) ; throw new com . IDENT_0 . IDENT_10 . as . common . METHOD_8 ( com . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_12 . IDENT_18 , e . getClass ( ) . METHOD_14 ( ) ) ; } return STRING_1 ; }
org . junit . Assert . assertEquals ( expResult , result )