METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 IDENT_1 = new com . IDENT_0 . IDENT_1 . METHOD_1 ( ) { int call = 0 ; MOD_0 com . IDENT_0 . IDENT_3 . IDENT_4 METHOD_2 ( java . lang . String name , java . lang . String IDENT_5 ) { if ( ( call ) == 0 ) { ( call ) ++ ; return null ; } else if ( ( call ) == 1 ) { if ( ( ! ( name . equals ( STRING_0 ) ) ) || ( ! ( IDENT_5 . equals ( STRING_1 ) ) ) ) { org . junit . Assert . fail ( ( ( ( STRING_2 + name ) + STRING_3 ) + IDENT_5 ) ) ; } final com . IDENT_0 . IDENT_3 . IDENT_4 IDENT_6 = org . easymock . EasyMock . METHOD_3 ( com . IDENT_0 . IDENT_3 . IDENT_4 . class ) ; org . easymock . EasyMock . expect ( IDENT_6 . METHOD_4 ( ) ) . andReturn ( INT_0 ) . times ( 2 ) ; org . easymock . EasyMock . expect ( IDENT_6 . getName ( ) ) . andReturn ( STRING_4 ) ; org . easymock . EasyMock . replay ( IDENT_6 ) ; return IDENT_6 ; } else { throw new java . lang . RuntimeException ( STRING_5 ) ; } } } ; com . IDENT_0 . domain . IDENT_7 . entity . IDENT_8 IDENT_9 = new com . IDENT_0 . domain . IDENT_7 . entity . METHOD_5 ( ) ; IDENT_9 . METHOD_6 ( STRING_1 ) ; java . util . List < com . IDENT_0 . IDENT_1 . IDENT_10 > IDENT_11 = new java . util . ArrayList < com . IDENT_0 . IDENT_1 . IDENT_10 > ( ) ; com . IDENT_0 . IDENT_1 . IDENT_10 IDENT_12 = new com . IDENT_0 . IDENT_1 . METHOD_7 ( STRING_6 , 4 , INT_1 ) ; com . IDENT_0 . IDENT_1 . METHOD_7 IDENT_13 = new com . IDENT_0 . IDENT_1 . METHOD_7 ( STRING_7 , 5 , INT_1 ) ; com . IDENT_0 . IDENT_1 . METHOD_7 IDENT_14 = new com . IDENT_0 . IDENT_1 . METHOD_7 ( STRING_7 , 6 , INT_1 ) ; com . IDENT_0 . IDENT_1 . METHOD_7 IDENT_15 = new com . IDENT_0 . IDENT_1 . METHOD_7 ( STRING_0 , 7 , INT_1 ) ; com . IDENT_0 . IDENT_1 . METHOD_7 IDENT_16 = new com . IDENT_0 . IDENT_1 . METHOD_7 ( STRING_8 , 8 , INT_1 ) ; IDENT_11 . add ( IDENT_12 ) ; IDENT_11 . add ( IDENT_13 ) ; IDENT_11 . add ( IDENT_14 ) ; IDENT_11 . add ( IDENT_15 ) ; IDENT_11 . add ( IDENT_16 ) ; java . util . Collections . METHOD_8 ( IDENT_11 ) ; com . IDENT_0 . domain . repository . IDENT_17 IDENT_18 = org . easymock . EasyMock . METHOD_3 ( com . IDENT_0 . domain . repository . IDENT_17 . class ) ; com . IDENT_0 . domain . IDENT_7 . entity . IDENT_19 IDENT_20 = new com . IDENT_0 . domain . IDENT_7 . entity . METHOD_9 ( 2 ) ; IDENT_20 . setName ( STRING_4 ) ; org . easymock . EasyMock . expect ( IDENT_18 . METHOD_10 ( INT_0 ) ) . andReturn ( IDENT_20 ) ; org . easymock . EasyMock . replay ( IDENT_18 ) ; IDENT_1 . METHOD_11 ( IDENT_18 ) ; IDENT_1 . METHOD_12 ( IDENT_9 , IDENT_11 ) ; "<AssertPlaceHolder>" ; org . easymock . EasyMock . verify ( IDENT_18 ) ; } METHOD_2 ( ) { return IDENT_20 ; }
org . junit . Assert . assertEquals ( IDENT_20 , IDENT_9 . METHOD_2 ( ) )