METHOD_0 ( ) { final org . IDENT_0 . tests . model . IDENT_1 . IDENT_2 b = METHOD_1 ( "b" , true ) ; final java . util . ArrayList < java . lang . String > list = new java . util . ArrayList < java . lang . String > ( ) ; IDENT_3 . when ( b ) . is ( true ) . add ( "foo" ) . to ( list ) ; "<AssertPlaceHolder>" ; } to ( java . lang . String ) { return element == null ? null : java . lang . Integer . METHOD_2 ( element ) ; }
org . junit . Assert . assertThat ( list , org . hamcrest . Matchers . contains ( "foo" ) )