METHOD_0 ( ) { final org . IDENT_0 . tests . model . IDENT_1 . IDENT_2 b = METHOD_1 ( "b" , false ) ; final org . IDENT_0 . tests . model . IDENT_1 . IDENT_3 i = METHOD_2 ( STRING_0 , 1 ) ; IDENT_4 . when ( b ) . is ( true ) . set ( i ) . to ( 10 ) ; b . set ( true ) ; "<AssertPlaceHolder>" ; } get ( ) { int i = 0 ; for ( org . IDENT_0 . tests . model . properties . IDENT_5 model : models . get ( ) ) { if ( ( ( model . name . get ( ) ) != null ) && ( model . name . get ( ) . startsWith ( "foo" ) ) ) { i ++ ; } } return i ; }
org . junit . Assert . assertThat ( i . get ( ) , org . hamcrest . CoreMatchers . is ( 10 ) )