METHOD_0 ( ) { final org . IDENT_0 . IDENT_1 . util . IDENT_2 < org . IDENT_0 . IDENT_1 . util . IDENT_3 . IDENT_4 > model = org . IDENT_0 . IDENT_1 . util . IDENT_2 . create ( org . IDENT_0 . IDENT_1 . util . IDENT_3 . IDENT_4 . class ) ; org . IDENT_0 . IDENT_1 . util . IDENT_3 . IDENT_4 parent = new org . IDENT_0 . IDENT_1 . util . IDENT_3 . METHOD_1 ( ) ; model . METHOD_2 ( parent ) ; org . IDENT_0 . IDENT_1 . util . IDENT_3 . METHOD_1 child = new org . IDENT_0 . IDENT_1 . util . IDENT_3 . METHOD_1 ( ) ; model . add ( parent , child ) ; "<AssertPlaceHolder>" ; } contains ( java . util . Collection , org . IDENT_5 . business . common . IDENT_6 ) { for ( org . IDENT_5 . business . common . IDENT_6 IDENT_7 : collection ) { if ( IDENT_7 . getId ( ) . equals ( entity . getId ( ) ) ) { return true ; } } return false ; }
org . junit . Assert . assertTrue ( model . contains ( parent , child ) )