METHOD_0 ( ) { paramHandler . METHOD_1 ( STRING_0 ) ; org . oscm . app . IDENT_0 . client . IDENT_1 IDENT_2 = mock ( org . oscm . app . IDENT_0 . client . IDENT_1 . class ) ; org . oscm . app . IDENT_0 . data . IDENT_3 IDENT_4 = mock ( org . oscm . app . IDENT_0 . data . IDENT_3 . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_5 ) . METHOD_2 ( paramHandler ) ; doReturn ( IDENT_4 ) . when ( IDENT_2 ) . METHOD_3 ( ) ; org . oscm . app . IDENT_6 . data . FlowState IDENT_7 = IDENT_5 . METHOD_4 ( paramHandler ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . oscm . app . IDENT_6 . IDENT_8 ) { org . oscm . app . IDENT_0 . client . IDENT_1 IDENT_9 = METHOD_2 ( paramHandler ) ; org . oscm . app . IDENT_0 . data . IDENT_3 configuration = IDENT_9 . METHOD_3 ( ) ; if ( configuration == null ) { throw new org . oscm . app . IDENT_10 . exceptions . METHOD_5 ( STRING_1 ) ; } boolean IDENT_11 = ( ( paramHandler . METHOD_6 ( ) ) != null ) && ( ! ( paramHandler . METHOD_6 ( ) . equals ( configuration . METHOD_7 ( ) ) ) ) ; if ( IDENT_11 ) { java . lang . String status = IDENT_9 . getStatus ( ) ; if ( IDENT_12 . IDENT_13 . equals ( status ) ) { org . oscm . app . IDENT_0 . IDENT_14 . logger . debug ( STRING_2 , paramHandler . METHOD_8 ( ) ) ; paramHandler . METHOD_9 ( paramHandler . METHOD_8 ( ) ) ; IDENT_9 . METHOD_10 ( ) ; return org . oscm . app . IDENT_6 . data . FlowState . IDENT_15 ; } else if ( IDENT_12 . IDENT_16 . equals ( status ) ) { return org . oscm . app . IDENT_6 . data . FlowState . IDENT_15 ; } org . oscm . app . IDENT_0 . IDENT_14 . logger . debug ( STRING_3 , new java . lang . Object [ ] { paramHandler . METHOD_8 ( ) , paramHandler . METHOD_6 ( ) , status } ) ; IDENT_9 . METHOD_11 ( paramHandler . METHOD_6 ( ) , null ) ; paramHandler . METHOD_12 ( ) . METHOD_13 ( ) ; return org . oscm . app . IDENT_6 . data . FlowState . IDENT_17 ; } org . oscm . app . IDENT_0 . IDENT_14 . logger . debug ( STRING_4 , paramHandler . METHOD_8 ( ) ) ; return org . oscm . app . IDENT_6 . data . FlowState . IDENT_18 ; }
org . junit . Assert . assertEquals ( FlowState . IDENT_18 , IDENT_7 )