METHOD_0 ( ) { org . IDENT_0 . tests . model . properties . IDENT_1 < java . lang . Integer > IDENT_2 = p . as ( new org . IDENT_0 . tests . model . properties . IDENT_3 . METHOD_1 ( ) ) ; p . set ( IDENT_4 . util . IDENT_5 . list ( STRING_0 ) ) ; IDENT_2 . add ( 0 , 2 ) ; "<AssertPlaceHolder>" ; } get ( ) { int i = 0 ; for ( org . IDENT_0 . tests . model . properties . IDENT_6 model : models . get ( ) ) { if ( ( ( model . name . get ( ) ) != null ) && ( model . name . get ( ) . startsWith ( "foo" ) ) ) { i ++ ; } } return i ; }
org . junit . Assert . assertThat ( p . get ( ) , org . hamcrest . Matchers . contains ( "2" , STRING_0 ) )