METHOD_0 ( ) { org . eclipse . IDENT_0 . IDENT_1 . api . command . IDENT_2 IDENT_3 = mock ( org . eclipse . IDENT_0 . IDENT_1 . api . command . IDENT_2 . class ) ; when ( IDENT_3 . getName ( ) ) . thenReturn ( "test" ) ; org . eclipse . IDENT_0 . IDENT_1 . api . command . IDENT_2 IDENT_4 = mock ( org . eclipse . IDENT_0 . IDENT_1 . api . command . IDENT_2 . class ) ; when ( IDENT_4 . getName ( ) ) . thenReturn ( STRING_0 ) ; java . util . List < org . eclipse . IDENT_0 . IDENT_1 . api . command . IDENT_2 > commands = new java . util . ArrayList ( ) ; commands . add ( IDENT_3 ) ; commands . add ( IDENT_4 ) ; when ( IDENT_5 . METHOD_1 ( ) ) . thenReturn ( commands ) ; java . util . Map < org . eclipse . IDENT_0 . IDENT_1 . api . command . IDENT_6 , java . util . List < org . eclipse . IDENT_0 . IDENT_1 . api . command . IDENT_2 > > IDENT_7 = new java . util . HashMap ( ) ; IDENT_7 . put ( mock ( org . eclipse . IDENT_0 . IDENT_1 . api . command . IDENT_6 . class ) , commands ) ; when ( IDENT_8 . METHOD_2 ( commands ) ) . thenReturn ( IDENT_7 ) ; IDENT_9 . METHOD_3 ( STRING_0 ) ; verify ( IDENT_8 ) . METHOD_2 ( commands ) ; verify ( view ) . METHOD_4 ( IDENT_10 . METHOD_5 ( ) ) ; final java . util . Map < org . eclipse . IDENT_0 . IDENT_1 . api . command . IDENT_6 , java . util . List < org . eclipse . IDENT_0 . IDENT_1 . api . command . IDENT_2 > > IDENT_11 = IDENT_10 . getValue ( ) ; "<AssertPlaceHolder>" ; } getValue ( ) { return value ; }
org . junit . Assert . assertEquals ( IDENT_7 , IDENT_11 )