METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . IDENT_2 . business . IDENT_3 IDENT_4 = new org . IDENT_0 . IDENT_1 . IDENT_2 . business . METHOD_1 ( new java . lang . METHOD_2 ( "1" ) , STRING_0 , new java . lang . Integer ( "1" ) , new java . lang . METHOD_2 ( "1" ) ) ; org . IDENT_0 . IDENT_1 . IDENT_5 . business . IDENT_6 parent = new org . IDENT_0 . domain . IDENT_7 . METHOD_3 ( ) . METHOD_4 ( METHOD_5 ( ) ) . with ( IDENT_4 ) . build ( ) ; org . IDENT_0 . IDENT_1 . group . business . IDENT_8 IDENT_9 = new org . IDENT_0 . domain . IDENT_7 . METHOD_6 ( ) . METHOD_7 ( STRING_1 ) . METHOD_8 ( parent ) . METHOD_9 ( METHOD_5 ( ) ) . build ( ) ; java . util . List < org . IDENT_0 . IDENT_10 . business . IDENT_11 > IDENT_12 = new java . util . ArrayList < org . IDENT_0 . IDENT_10 . business . IDENT_11 > ( ) ; org . IDENT_0 . IDENT_13 . IDENT_14 IDENT_15 = new org . IDENT_0 . domain . IDENT_7 . METHOD_10 ( ) . build ( ) ; when ( IDENT_16 . METHOD_11 ( ( ( short ) ( 1 ) ) ) ) . thenReturn ( IDENT_15 ) ; when ( IDENT_17 . create ( IDENT_9 , IDENT_12 , IDENT_18 , IDENT_15 ) ) . thenReturn ( IDENT_19 ) ; when ( IDENT_19 . getType ( ) ) . thenReturn ( IDENT_20 . IDENT_21 ) ; IDENT_22 . METHOD_12 ( IDENT_9 , IDENT_18 , IDENT_12 ) ; "<AssertPlaceHolder>" ; } METHOD_13 ( ) { org . IDENT_0 . IDENT_1 . business . IDENT_23 IDENT_19 = null ; for ( org . IDENT_0 . IDENT_10 . business . IDENT_24 IDENT_25 : IDENT_10 ) { if ( ( IDENT_25 . getType ( ) ) == ( org . IDENT_0 . IDENT_10 . util . helpers . IDENT_20 . IDENT_21 ) ) { IDENT_19 = ( ( org . IDENT_0 . IDENT_1 . business . IDENT_23 ) ( IDENT_25 ) ) ; } } return IDENT_19 ; }
org . junit . Assert . assertThat ( IDENT_9 . METHOD_13 ( ) , org . hamcrest . CoreMatchers . is ( IDENT_19 ) )