METHOD_0 ( ) { java . util . List < de . IDENT_0 . IDENT_1 . IDENT_2 . rule . IDENT_3 > rules = de . IDENT_0 . IDENT_1 . IDENT_2 . test . util . IDENT_4 . METHOD_1 ( ) ; java . util . Set < de . IDENT_0 . IDENT_1 . IDENT_2 . rule . IDENT_3 > expected = new java . util . HashSet ( rules ) ; de . IDENT_0 . IDENT_1 . IDENT_2 . index . IDENT_5 index = factory . build ( rules ) ; java . util . Set < de . IDENT_0 . IDENT_1 . IDENT_2 . rule . IDENT_3 > actual = new java . util . HashSet ( index . METHOD_2 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { java . util . List < de . IDENT_0 . IDENT_1 . IDENT_2 . rule . IDENT_3 > rules = new java . util . ArrayList ( ) ; for ( de . IDENT_0 . IDENT_1 . IDENT_2 . index . tree . IDENT_6 node : root . METHOD_3 ( ) ) { de . IDENT_0 . IDENT_1 . IDENT_2 . rule . IDENT_3 rule = node . METHOD_4 ( ) ; if ( rule != null ) { rules . add ( rule ) ; } } return rules ; }
org . junit . Assert . assertEquals ( expected , actual )