METHOD_0 ( ) { com . eclipsesource . IDENT_0 . internal . ui . IDENT_1 controller = mock ( com . eclipsesource . IDENT_0 . internal . ui . IDENT_1 . class ) ; com . eclipsesource . IDENT_0 . internal . ui . IDENT_2 IDENT_3 = mock ( com . eclipsesource . IDENT_0 . internal . ui . IDENT_2 . class ) ; com . eclipsesource . IDENT_0 . internal . ui . IDENT_4 IDENT_5 = mock ( com . eclipsesource . IDENT_0 . internal . ui . IDENT_4 . class ) ; com . eclipsesource . IDENT_0 . ui . IDENT_6 action = mock ( com . eclipsesource . IDENT_0 . ui . IDENT_6 . class ) ; when ( IDENT_5 . METHOD_1 ( ) ) . thenReturn ( action ) ; when ( IDENT_3 . METHOD_2 ( ) ) . thenReturn ( IDENT_5 ) ; when ( controller . METHOD_3 ( "foo" ) ) . thenReturn ( IDENT_3 ) ; com . eclipsesource . IDENT_0 . internal . ui . IDENT_7 IDENT_8 = new com . eclipsesource . IDENT_0 . internal . ui . METHOD_4 ( controller ) ; com . eclipsesource . IDENT_0 . ui . IDENT_6 IDENT_9 = IDENT_8 . METHOD_1 ( "foo" ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { com . eclipsesource . IDENT_0 . internal . IDENT_10 . METHOD_5 ( id ) . METHOD_6 ( STRING_0 ) ; com . eclipsesource . IDENT_0 . internal . IDENT_10 . when ( id . isEmpty ( ) ) . METHOD_6 ( STRING_1 ) ; com . eclipsesource . IDENT_0 . internal . ui . IDENT_11 . IDENT_12 IDENT_13 = controller . METHOD_3 ( id ) ; if ( IDENT_13 != null ) { return IDENT_13 . METHOD_2 ( ) . METHOD_1 ( ) ; } return null ; }
org . junit . Assert . assertSame ( action , IDENT_9 )