METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_0 . getStatus ( ) ) . thenReturn ( org . eclipse . IDENT_2 . IDENT_3 . ext . runner . client . models . IDENT_4 ) ; when ( IDENT_5 . getName ( ) ) . thenReturn ( org . eclipse . IDENT_2 . IDENT_3 . ext . runner . client . models . IDENT_6 ) ; when ( IDENT_5 . getValue ( ) ) . thenReturn ( org . eclipse . IDENT_2 . IDENT_3 . ext . runner . client . models . IDENT_7 ) ; runner . METHOD_2 ( IDENT_0 ) ; runner . METHOD_3 ( IDENT_8 . Status . IDENT_9 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 , times ( 2 ) ) . METHOD_1 ( ) ; verify ( IDENT_0 ) . getStatus ( ) ; verify ( IDENT_5 , times ( 2 ) ) . getName ( ) ; verify ( IDENT_5 ) . getValue ( ) ; } METHOD_4 ( ) { if ( IDENT_10 . METHOD_5 ( ) . METHOD_6 ( ) . containsKey ( Constants . IDENT_11 ) ) { java . lang . String value = IDENT_10 . METHOD_5 ( ) . METHOD_6 ( ) . get ( Constants . IDENT_11 ) ; org . eclipse . IDENT_2 . IDENT_3 . ext . runner . client . IDENT_12 . properties . IDENT_13 . common . IDENT_14 IDENT_15 = org . eclipse . IDENT_2 . IDENT_3 . ext . runner . client . IDENT_12 . properties . IDENT_13 . common . IDENT_14 . METHOD_7 ( java . lang . Integer . METHOD_8 ( value ) ) ; return IDENT_15 != null ? IDENT_15 : org . eclipse . IDENT_2 . IDENT_3 . ext . runner . client . IDENT_12 . properties . IDENT_13 . common . IDENT_14 . IDENT_16 ; } else { return org . eclipse . IDENT_2 . IDENT_3 . ext . runner . client . IDENT_12 . properties . IDENT_13 . common . IDENT_14 . IDENT_16 ; } }
org . junit . Assert . assertThat ( runner . METHOD_4 ( ) , org . hamcrest . core . Is . is ( org . eclipse . IDENT_2 . IDENT_3 . ext . runner . client . models . IDENT_7 ) )