METHOD_0 ( ) { final org . IDENT_0 . ext . widgets . core . client . tree . IDENT_1 IDENT_2 = mock ( org . IDENT_0 . ext . widgets . core . client . tree . IDENT_1 . class ) ; when ( container . METHOD_1 ( ) ) . thenReturn ( 1 ) ; when ( container . METHOD_2 ( eq ( 0 ) ) ) . thenReturn ( IDENT_2 ) ; IDENT_3 . METHOD_3 ( IDENT_2 ) ; verify ( container , times ( 1 ) ) . add ( eq ( IDENT_2 ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . lang . String ) { if ( ( ( IDENT_4 ) == null ) || ( id == null ) ) { return null ; } for ( org . IDENT_5 . IDENT_6 . IDENT_7 IDENT_8 : IDENT_4 ) { if ( id . equals ( IDENT_8 . getId ( ) ) ) { return IDENT_8 ; } } return null ; }
org . junit . Assert . assertEquals ( IDENT_3 . METHOD_4 ( 0 ) , IDENT_2 )