METHOD_0 ( ) { IDENT_0 . model . IDENT_1 IDENT_2 = METHOD_1 ( 1 ) ; IDENT_0 . model . IDENT_1 IDENT_3 = METHOD_1 ( 2 ) ; IDENT_0 . model . IDENT_1 IDENT_4 = METHOD_1 ( 3 ) ; IDENT_0 . model . IDENT_1 IDENT_5 = new IDENT_0 . model . METHOD_2 ( 1 ) ; IDENT_0 . model . METHOD_2 IDENT_6 = new IDENT_0 . model . METHOD_2 ( 2 ) ; graph . METHOD_3 ( IDENT_3 ) ; graph . METHOD_3 ( IDENT_2 ) ; graph . METHOD_3 ( IDENT_6 ) ; graph . METHOD_3 ( IDENT_5 ) ; graph . METHOD_3 ( IDENT_4 ) ; java . util . List < IDENT_0 . model . METHOD_2 > expected = java . util . Arrays . asList ( IDENT_2 , IDENT_3 , IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { java . util . List < IDENT_0 . model . METHOD_2 > tokens = new java . util . ArrayList < IDENT_0 . model . METHOD_2 > ( ) ; for ( IDENT_0 . model . METHOD_2 node : nodes ) { if ( node . METHOD_5 ( ) ) tokens . add ( node ) ; } java . util . Collections . METHOD_6 ( tokens , new IDENT_0 . model . IDENT_7 . METHOD_7 ( ) ) ; return tokens ; }
org . junit . Assert . assertThat ( graph . METHOD_4 ( ) , org . hamcrest . Matchers . is ( expected ) )