test ( ) { final org . jboss . IDENT_0 . IDENT_1 . message . Message message = org . mockito . Mockito . mock ( org . jboss . IDENT_0 . IDENT_1 . message . Message . class ) ; final org . jboss . IDENT_0 . IDENT_1 . message . Properties properties = org . mockito . Mockito . mock ( org . jboss . IDENT_0 . IDENT_1 . message . Properties . class ) ; final org . jboss . IDENT_0 . IDENT_1 . message . IDENT_2 body = org . mockito . Mockito . mock ( org . jboss . IDENT_0 . IDENT_1 . message . IDENT_2 . class ) ; org . mockito . Mockito . when ( message . METHOD_0 ( ) ) . thenReturn ( properties ) ; org . mockito . Mockito . when ( properties . getProperty ( IDENT_3 . IDENT_4 ) ) . thenReturn ( INT_0 ) ; org . mockito . Mockito . when ( message . METHOD_1 ( ) ) . thenReturn ( body ) ; org . mockito . Mockito . when ( body . get ( Constants . IDENT_5 ) ) . thenReturn ( INT_1 ) ; final org . jboss . IDENT_0 . IDENT_1 . message . Message result = subject . process ( message ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_6 ) . METHOD_2 ( INT_0 , INT_1 ) ; } process ( nl . bzk . brp . IDENT_7 . IDENT_8 . context . IDENT_9 ) { nl . bzk . brp . IDENT_7 . IDENT_8 . IDENT_10 . IDENT_11 . LOGGER . debug ( nl . bzk . brp . IDENT_7 . IDENT_8 . IDENT_10 . IDENT_11 . IDENT_12 ) ; final long start = java . lang . System . currentTimeMillis ( ) ; final javax . xml . ws . IDENT_13 < javax . xml . transform . IDENT_14 > IDENT_15 = METHOD_3 ( IDENT_16 ) ; final nl . bzk . brp . model . operationeel . IDENT_17 . IDENT_18 IDENT_19 = IDENT_16 . METHOD_4 ( ) ; final java . util . Map < java . lang . String , java . lang . Object > IDENT_20 = IDENT_15 . METHOD_5 ( ) ; IDENT_20 . put ( IDENT_21 . IDENT_22 , IDENT_19 . METHOD_6 ( ) ) ; final java . lang . String IDENT_23 = IDENT_16 . METHOD_7 ( ) ; IDENT_20 . put ( IDENT_24 . IDENT_25 , IDENT_23 ) ; final nl . bzk . brp . model . IDENT_26 . IDENT_27 IDENT_28 = IDENT_16 . METHOD_8 ( ) ; final java . lang . String IDENT_29 = IDENT_16 . METHOD_9 ( ) ; try { METHOD_10 ( IDENT_16 ) ; METHOD_11 ( IDENT_20 . entrySet ( ) ) ; if ( IDENT_29 != null ) { nl . bzk . brp . IDENT_7 . IDENT_8 . IDENT_10 . IDENT_11 . LOGGER . info ( nl . bzk . brp . IDENT_7 . IDENT_8 . IDENT_10 . IDENT_11 . IDENT_30 , IDENT_23 ) ; final javax . xml . transform . IDENT_14 request = new javax . xml . transform . stream . METHOD_12 ( new java . io . METHOD_13 ( IDENT_29 ) ) ; final java . lang . String IDENT_31 = IDENT_28 . METHOD_14 ( ) . toString ( ) ; IDENT_15 . invoke ( request ) ; nl . bzk . brp . IDENT_7 . IDENT_8 . IDENT_10 . IDENT_11 . LOGGER . info ( STRING_0 , IDENT_23 , IDENT_28 . METHOD_15 ( ) , IDENT_31 ) ; nl . bzk . brp . logging . IDENT_32 . put ( IDENT_33 . IDENT_34 , java . lang . String . valueOf ( IDENT_28 . METHOD_16 ( ) . size ( ) ) ) ; if ( ( IDENT_28 . METHOD_17 ( ) ) != null ) { nl . bzk . brp . logging . IDENT_32 . put ( IDENT_33 . IDENT_35 , IDENT_28 . METHOD_17 ( ) . METHOD_18 ( ) ) ; } if ( ( IDENT_28 . METHOD_19 ( ) ) != null ) { nl . bzk . brp . logging . IDENT_32 . put ( IDENT_33 . IDENT_36 , IDENT_28 . METHOD_19 ( ) . METHOD_20 ( ) . METHOD_18 ( ) ) ; } java . lang . String IDENT_37 = "" ; if ( ( IDENT_28 . METHOD_19 ( ) ) != null ) { IDENT_37 = IDENT_28 . METHOD_19 ( ) . METHOD_20 ( ) . METHOD_18 ( ) ; } nl . bzk . brp . IDENT_7 . IDENT_8 . IDENT_10 . IDENT_11 . LOGGER . info ( STRING_1 , IDENT_37 , IDENT_28 . METHOD_16 ( ) . size ( ) ) ; nl . bzk . brp . logging . IDENT_32 . remove ( IDENT_33 . IDENT_34 ) ; nl . bzk . brp . logging . IDENT_32 . remove ( IDENT_33 . IDENT_36 ) ; IDENT_16 . METHOD_21 ( ) . METHOD_22 ( ( ( java . lang . System . currentTimeMillis ( ) ) - start ) ) ; } else { throw new nl . bzk . brp . IDENT_7 . IDENT_8 . IDENT_38 . METHOD_23 ( ( ( nl . bzk . brp . IDENT_7 . IDENT_8 . IDENT_10 . IDENT_11 . IDENT_39 ) + IDENT_23 ) ) ; } } catch ( final java . lang . Exception e ) { throw new nl . bzk . brp . IDENT_7 . IDENT_8 . IDENT_38 . METHOD_23 ( java . lang . String . format ( STRING_2 , IDENT_28 . METHOD_24 ( ) , IDENT_29 ) , e ) ; } finally { METHOD_25 ( ) ; } }
org . junit . Assert . assertSame ( message , result )