METHOD_0 ( ) { System . out . println ( STRING_0 ) ; IDENT_0 . IDENT_1 . IDENT_2 . core . api . IDENT_3 IDENT_4 = new IDENT_0 . IDENT_1 . IDENT_2 . core . api . METHOD_1 ( ) ; IDENT_4 . METHOD_2 ( STRING_1 ) ; IDENT_4 . setValue ( STRING_2 ) ; when ( IDENT_0 . IDENT_1 . IDENT_2 . core . impl . IDENT_5 . attributes . IDENT_6 . session . METHOD_3 ( ) . METHOD_4 ( ) . METHOD_5 ( any ( IDENT_0 . IDENT_1 . IDENT_2 . core . api . IDENT_7 . class ) , any ( IDENT_0 . IDENT_1 . IDENT_2 . core . api . METHOD_1 . class ) ) ) . thenReturn ( new java . util . ArrayList < IDENT_0 . IDENT_1 . IDENT_2 . core . api . User > ( ) { { add ( IDENT_0 . IDENT_1 . IDENT_2 . core . impl . IDENT_5 . attributes . IDENT_6 . user ) ; } } ) ; when ( IDENT_0 . IDENT_1 . IDENT_2 . core . impl . IDENT_5 . attributes . IDENT_6 . session . METHOD_3 ( ) . METHOD_6 ( ) . METHOD_7 ( any ( IDENT_0 . IDENT_1 . IDENT_2 . core . api . IDENT_7 . class ) , any ( IDENT_0 . IDENT_1 . IDENT_2 . core . api . User . class ) , anyString ( ) ) ) . thenReturn ( new IDENT_0 . IDENT_1 . IDENT_2 . core . api . METHOD_1 ( ) { { setValue ( STRING_2 ) ; } } ) ; "<AssertPlaceHolder>" ; IDENT_0 . IDENT_1 . IDENT_2 . core . impl . IDENT_5 . attributes . IDENT_6 . IDENT_8 . METHOD_8 ( IDENT_0 . IDENT_1 . IDENT_2 . core . impl . IDENT_5 . attributes . IDENT_6 . session , IDENT_0 . IDENT_1 . IDENT_2 . core . impl . IDENT_5 . attributes . IDENT_6 . user , IDENT_4 ) ; } getValue ( ) { return false ; }
org . junit . Assert . assertEquals ( IDENT_4 . getValue ( ) . toString ( ) , STRING_2 )