input
stringlengths
35
67.8k
output
stringlengths
39
1.53k
METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . core . IDENT_2 IDENT_3 = mock ( de . IDENT_0 . IDENT_1 . core . IDENT_2 . class ) ; de . IDENT_0 . IDENT_1 . core . IDENT_4 IDENT_5 = mock ( de . IDENT_0 . IDENT_1 . core . IDENT_4 . class ) ; de . IDENT_0 . IDENT_1 . core . IDENT_6 IDENT_7 = mock ( de . IDENT_0 . IDENT_1 . core . IDENT_6 . class ) ; de . IDENT_0 . IDENT_1 . core . IDENT_8 IDENT_9 = new de . IDENT_0 . IDENT_1 . core . METHOD_1 ( IDENT_3 , IDENT_5 , IDENT_7 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return IDENT_10 ; }
org . junit . Assert . assertSame ( IDENT_3 , IDENT_9 . METHOD_2 ( ) )
METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . core . IDENT_2 IDENT_3 = new de . IDENT_0 . IDENT_1 . core . METHOD_1 ( ) ; java . util . Map < java . lang . String , java . lang . Object > IDENT_4 = new java . util . HashMap ( ) ; IDENT_4 . put ( IDENT_5 . IDENT_6 , IDENT_5 . IDENT_7 ) ; de . IDENT_0 . IDENT_1 . core . IDENT_8 IDENT_9 = mock ( de . IDENT_0 . IDENT_1 . core . IDENT_8 . class ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . util . Map , de . IDENT_0 . IDENT_1 . core . IDENT_8 ) { return de . IDENT_0 . IDENT_1 . process . IDENT_10 . METHOD_2 ( ) ; }
org . junit . Assert . assertNotNull ( IDENT_3 . METHOD_2 ( IDENT_9 , IDENT_4 ) )
METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . event . IDENT_2 IDENT_3 = mock ( de . IDENT_0 . IDENT_1 . event . IDENT_2 . class ) ; de . IDENT_0 . IDENT_1 . core . IDENT_4 IDENT_5 = mock ( de . IDENT_0 . IDENT_1 . core . IDENT_4 . class ) ; when ( IDENT_5 . METHOD_1 ( ) ) . thenReturn ( IDENT_3 ) ; de . IDENT_0 . IDENT_1 . core . IDENT_6 IDENT_7 = mock ( de . IDENT_0 . IDENT_1 . core . IDENT_6 . class ) ; when ( IDENT_7 . METHOD_2 ( ) ) . thenReturn ( IDENT_5 ) ; de . IDENT_0 . IDENT_1 . core . IDENT_8 IDENT_9 = new de . IDENT_0 . IDENT_1 . core . METHOD_3 ( IDENT_7 , STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { de . IDENT_0 . IDENT_1 . IDENT_10 . IDENT_11 IDENT_12 = ( ( de . IDENT_0 . IDENT_1 . IDENT_10 . IDENT_11 ) ( item . METHOD_5 ( ) ) ) ; if ( IDENT_12 instanceof de . IDENT_0 . IDENT_1 . core . IDENT_13 ) { de . IDENT_0 . IDENT_1 . IDENT_10 . IDENT_14 IDENT_15 = ( ( de . IDENT_0 . IDENT_1 . IDENT_10 . IDENT_14 ) ( IDENT_12 ) ) ; return IDENT_15 . METHOD_6 ( ) . METHOD_5 ( ) . METHOD_4 ( ) ; } if ( IDENT_12 instanceof de . IDENT_0 . IDENT_1 . core . IDENT_16 ) { de . IDENT_0 . IDENT_1 . IDENT_10 . IDENT_17 IDENT_18 = ( ( de . IDENT_0 . IDENT_1 . IDENT_10 . IDENT_17 ) ( IDENT_12 ) ) ; return IDENT_18 . METHOD_5 ( ) . METHOD_4 ( ) ; } throw new java . lang . IllegalStateException ( STRING_1 ) ; }
org . junit . Assert . assertSame ( IDENT_7 , IDENT_9 . METHOD_4 ( ) )
METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . event . IDENT_2 IDENT_3 = mock ( de . IDENT_0 . IDENT_1 . event . IDENT_2 . class ) ; de . IDENT_0 . IDENT_1 . core . IDENT_4 IDENT_5 = mock ( de . IDENT_0 . IDENT_1 . core . IDENT_4 . class ) ; de . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 IDENT_8 = mock ( de . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 . class ) ; de . IDENT_0 . IDENT_1 . core . IDENT_9 IDENT_10 = new de . IDENT_0 . IDENT_1 . core . METHOD_1 ( IDENT_3 , IDENT_5 , IDENT_8 , new de . IDENT_0 . IDENT_1 . core . METHOD_2 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return IDENT_11 ; }
org . junit . Assert . assertNotNull ( IDENT_10 . METHOD_3 ( ) )
METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . event . IDENT_2 IDENT_3 = mock ( de . IDENT_0 . IDENT_1 . event . IDENT_2 . class ) ; de . IDENT_0 . IDENT_1 . core . IDENT_4 IDENT_5 = mock ( de . IDENT_0 . IDENT_1 . core . IDENT_4 . class ) ; de . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 IDENT_8 = mock ( de . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 . class ) ; de . IDENT_0 . IDENT_1 . core . IDENT_9 IDENT_10 = new de . IDENT_0 . IDENT_1 . core . METHOD_1 ( IDENT_3 , IDENT_5 , IDENT_8 , new de . IDENT_0 . IDENT_1 . core . METHOD_2 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return IDENT_11 ; }
org . junit . Assert . assertSame ( IDENT_3 , IDENT_10 . METHOD_3 ( ) )
METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . event . IDENT_2 IDENT_3 = mock ( de . IDENT_0 . IDENT_1 . event . IDENT_2 . class ) ; de . IDENT_0 . IDENT_1 . core . IDENT_4 IDENT_5 = mock ( de . IDENT_0 . IDENT_1 . core . IDENT_4 . class ) ; de . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 IDENT_8 = mock ( de . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 . class ) ; de . IDENT_0 . IDENT_1 . core . IDENT_9 IDENT_10 = new de . IDENT_0 . IDENT_1 . core . METHOD_1 ( IDENT_3 , IDENT_5 , IDENT_8 , new de . IDENT_0 . IDENT_1 . core . METHOD_2 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return IDENT_11 ; }
org . junit . Assert . assertSame ( IDENT_8 , IDENT_10 . METHOD_3 ( ) )
METHOD_0 ( ) { final java . io . File IDENT_0 = IDENT_1 . METHOD_1 ( ) ; final java . io . File IDENT_2 = IDENT_1 . METHOD_1 ( ) ; final java . io . File directory = IDENT_1 . METHOD_2 ( ) ; final java . lang . String IDENT_3 = org . apache . flink . container . IDENT_4 . IDENT_5 . METHOD_3 ( "" , "" , "" , IDENT_0 . getAbsolutePath ( ) , "" , directory . getAbsolutePath ( ) , "" , IDENT_2 . getAbsolutePath ( ) , "" , "" ) ; java . lang . IDENT_6 < java . io . File > IDENT_7 = org . apache . flink . container . IDENT_4 . IDENT_5 . METHOD_4 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } contains ( java . util . List , int ) { for ( org . apache . flink . streaming . IDENT_8 . kafka . IDENT_9 . IDENT_10 IDENT_11 : IDENT_12 ) { if ( ( IDENT_11 . METHOD_5 ( ) ) == IDENT_13 ) { return true ; } } return false ; }
org . junit . Assert . assertThat ( IDENT_7 , org . hamcrest . Matchers . contains ( IDENT_0 , IDENT_2 ) )
METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . event . IDENT_2 < java . lang . String > IDENT_3 = new de . IDENT_0 . IDENT_1 . event . METHOD_1 ( java . lang . String . class , this , STRING_0 , STRING_1 ) ; "<AssertPlaceHolder>" ; } getType ( ) { return de . IDENT_0 . IDENT_1 . core . IDENT_4 . IDENT_5 ; }
org . junit . Assert . assertSame ( java . lang . String . class , IDENT_3 . getType ( ) )
METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . event . IDENT_2 < java . lang . String > IDENT_3 = new de . IDENT_0 . IDENT_1 . event . METHOD_1 ( java . lang . String . class , this , STRING_0 , STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return property . METHOD_2 ( ) ; }
org . junit . Assert . assertSame ( this , IDENT_3 . METHOD_2 ( ) )
METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . event . IDENT_2 < java . lang . String > IDENT_3 = new de . IDENT_0 . IDENT_1 . event . METHOD_1 ( java . lang . String . class , this , STRING_0 , STRING_1 ) ; "<AssertPlaceHolder>" ; } get ( ) { return code [ IDENT_4 ] ; }
org . junit . Assert . assertEquals ( STRING_1 , IDENT_3 . get ( ) )
METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . event . IDENT_2 < java . lang . String > IDENT_3 = new de . IDENT_0 . IDENT_1 . event . METHOD_1 ( java . lang . String . class , this , STRING_0 , STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return ( value ) == null ; }
org . junit . Assert . assertFalse ( IDENT_3 . METHOD_2 ( ) )
METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . event . IDENT_2 < java . lang . String > IDENT_3 = new de . IDENT_0 . IDENT_1 . event . METHOD_1 ( java . lang . String . class , this , STRING_0 , null ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return ( value ) == null ; }
org . junit . Assert . assertTrue ( IDENT_3 . METHOD_2 ( ) )
METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . event . IDENT_2 IDENT_3 = mock ( de . IDENT_0 . IDENT_1 . event . IDENT_2 . class ) ; de . IDENT_0 . IDENT_1 . core . IDENT_4 IDENT_5 = mock ( de . IDENT_0 . IDENT_1 . core . IDENT_4 . class ) ; de . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 IDENT_8 = new de . IDENT_0 . IDENT_1 . IDENT_6 . METHOD_1 ( IDENT_3 , IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return property . METHOD_2 ( ) ; }
org . junit . Assert . assertSame ( IDENT_5 , IDENT_8 . METHOD_2 ( ) )
METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . event . IDENT_2 IDENT_3 = mock ( de . IDENT_0 . IDENT_1 . event . IDENT_2 . class ) ; de . IDENT_0 . IDENT_1 . core . IDENT_4 IDENT_5 = mock ( de . IDENT_0 . IDENT_1 . core . IDENT_4 . class ) ; de . IDENT_0 . IDENT_1 . core . IDENT_6 IDENT_7 = mock ( de . IDENT_0 . IDENT_1 . core . IDENT_6 . class ) ; when ( IDENT_5 . METHOD_1 ( ) ) . thenReturn ( IDENT_7 ) ; de . IDENT_0 . IDENT_1 . IDENT_8 . IDENT_9 IDENT_10 = new de . IDENT_0 . IDENT_1 . IDENT_8 . METHOD_2 ( IDENT_3 , IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( ) { de . IDENT_0 . IDENT_1 . IDENT_8 . IDENT_11 IDENT_12 = ( ( de . IDENT_0 . IDENT_1 . IDENT_8 . IDENT_11 ) ( item . METHOD_3 ( ) ) ) ; if ( IDENT_12 instanceof de . IDENT_0 . IDENT_1 . core . IDENT_13 ) { de . IDENT_0 . IDENT_1 . IDENT_8 . IDENT_14 IDENT_15 = ( ( de . IDENT_0 . IDENT_1 . IDENT_8 . IDENT_14 ) ( IDENT_12 ) ) ; return IDENT_15 . METHOD_4 ( ) . METHOD_3 ( ) . METHOD_1 ( ) ; } if ( IDENT_12 instanceof de . IDENT_0 . IDENT_1 . core . IDENT_16 ) { de . IDENT_0 . IDENT_1 . IDENT_8 . METHOD_2 IDENT_17 = ( ( de . IDENT_0 . IDENT_1 . IDENT_8 . METHOD_2 ) ( IDENT_12 ) ) ; return IDENT_17 . METHOD_3 ( ) . METHOD_1 ( ) ; } throw new java . lang . IllegalStateException ( STRING_0 ) ; }
org . junit . Assert . assertSame ( IDENT_7 , IDENT_10 . METHOD_1 ( ) )
METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . type . IDENT_2 IDENT_3 = new de . IDENT_0 . IDENT_1 . type . METHOD_1 ( 6 , 7 ) ; "<AssertPlaceHolder>" ; } hashCode ( ) { long l = java . lang . Double . METHOD_2 ( ( ( v ) + 1 ) ) ; return ( ( int ) ( l > > INT_0 ) ) + ( ( int ) ( l ) ) ; }
org . junit . Assert . assertEquals ( 0 , IDENT_3 . hashCode ( ) )
METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . type . IDENT_2 IDENT_3 = new de . IDENT_0 . IDENT_1 . type . METHOD_1 ( null ) ; "<AssertPlaceHolder>" ; } get ( ) { return code [ IDENT_4 ] ; }
org . junit . Assert . assertNull ( IDENT_3 . get ( ) )
METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . Object > IDENT_0 = new java . util . HashMap ( ) ; IDENT_0 . put ( "name" , "test" ) ; de . IDENT_1 . IDENT_2 . type . IDENT_3 IDENT_4 = de . IDENT_1 . IDENT_2 . type . IDENT_3 . METHOD_1 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } get ( ) { return code [ IDENT_5 ] ; }
org . junit . Assert . assertEquals ( "test" , IDENT_4 . get ( ) )
METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . Object > IDENT_0 = new java . util . HashMap ( ) ; IDENT_0 . put ( STRING_0 , "test" ) ; de . IDENT_1 . IDENT_2 . type . IDENT_3 IDENT_4 = de . IDENT_1 . IDENT_2 . type . IDENT_3 . METHOD_1 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } get ( ) { return code [ IDENT_5 ] ; }
org . junit . Assert . assertEquals ( "test" , IDENT_4 . get ( ) )
METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . type . IDENT_2 IDENT_3 = new de . IDENT_0 . IDENT_1 . type . METHOD_1 ( 10 ) ; "<AssertPlaceHolder>" ; } hashCode ( ) { long l = java . lang . Double . METHOD_2 ( ( ( v ) + 1 ) ) ; return ( ( int ) ( l > > INT_0 ) ) + ( ( int ) ( l ) ) ; }
org . junit . Assert . assertEquals ( 10 , IDENT_3 . hashCode ( ) )
METHOD_0 ( ) { org . junit . IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 ) ; final com . cloud . IDENT_3 . resource . IDENT_4 . IDENT_5 IDENT_6 = new com . cloud . IDENT_3 . resource . IDENT_4 . METHOD_2 ( ) ; final com . cloud . IDENT_7 . utils . IDENT_8 < java . lang . Double , java . lang . Double > IDENT_9 = IDENT_6 . METHOD_3 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { return new com . cloud . IDENT_7 . utils . METHOD_4 ( com . cloud . IDENT_3 . resource . IDENT_4 . METHOD_2 . METHOD_5 ( IDENT_10 , STRING_1 ) , com . cloud . IDENT_3 . resource . IDENT_4 . METHOD_2 . METHOD_5 ( IDENT_10 , STRING_2 ) ) ; }
org . junit . Assert . assertNotNull ( IDENT_9 )
METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final com . cloud . IDENT_1 . resource . IDENT_2 . storage . utils . IDENT_3 file = new com . cloud . IDENT_1 . resource . IDENT_2 . storage . utils . METHOD_1 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return IDENT_4 ; }
org . junit . Assert . assertEquals ( file . METHOD_2 ( ) , IDENT_0 )
METHOD_0 ( ) { final java . lang . String IDENT_0 = ( STRING_0 + ( java . util . UUID . METHOD_1 ( ) ) ) + STRING_1 ; final long size = INT_0 ; final com . cloud . IDENT_1 . resource . IDENT_2 . storage . utils . IDENT_3 file = new com . cloud . IDENT_1 . resource . IDENT_2 . storage . utils . METHOD_2 ( IDENT_0 , size , com . cloud . model . IDENT_4 . IDENT_5 . IDENT_6 ) ; final java . lang . String IDENT_7 = STRING_2 ; final java . util . Map < java . lang . String , java . lang . String > options = new java . util . HashMap ( ) ; options . put ( STRING_3 , IDENT_7 ) ; final com . cloud . IDENT_1 . resource . IDENT_2 . storage . utils . IDENT_8 IDENT_9 = new com . cloud . IDENT_1 . resource . IDENT_2 . storage . utils . METHOD_3 ( 0 ) ; IDENT_9 . create ( file , options ) ; final java . lang . String IDENT_10 = com . cloud . utils . script . IDENT_11 . METHOD_4 ( java . lang . String . format ( STRING_4 , file ) ) ; final java . lang . String IDENT_12 = com . cloud . utils . script . IDENT_11 . METHOD_4 ( java . lang . String . format ( STRING_5 , file ) ) ; "<AssertPlaceHolder>" ; final java . io . File f = new java . io . File ( IDENT_0 ) ; f . delete ( ) ; } equals ( java . lang . Object ) { if ( o == null ) { return false ; } if ( o instanceof com . cloud . utils . events . IDENT_13 . IDENT_14 ) { return ( ( ( this . clazz ) == ( ( ( com . cloud . utils . events . IDENT_13 . IDENT_14 ) ( o ) ) . clazz ) ) && ( ( this . IDENT_15 ) == ( ( ( com . cloud . utils . events . IDENT_13 . IDENT_14 ) ( o ) ) . IDENT_15 ) ) ) && ( this . IDENT_16 . equals ( ( ( com . cloud . utils . events . IDENT_13 . IDENT_14 ) ( o ) ) . IDENT_16 ) ) ; } return false ; }
org . junit . Assert . assertFalse ( IDENT_10 . equals ( IDENT_12 ) )
METHOD_0 ( ) { final org . apache . flink . api . common . IDENT_0 IDENT_1 = new org . apache . flink . api . common . METHOD_1 ( ) ; final java . lang . String [ ] args = new java . lang . String [ ] { STRING_0 , STRING_1 , STRING_2 , STRING_3 , STRING_4 , IDENT_1 . toString ( ) } ; final org . apache . flink . container . IDENT_2 . IDENT_3 IDENT_4 = org . apache . flink . container . IDENT_2 . IDENT_5 . IDENT_6 . parse ( args ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return IDENT_1 ; }
org . junit . Assert . assertThat ( IDENT_4 . METHOD_2 ( ) , org . hamcrest . Matchers . is ( org . hamcrest . Matchers . equalTo ( IDENT_1 ) ) )
METHOD_0 ( ) { final java . lang . String IDENT_0 = ( STRING_0 + ( java . util . UUID . METHOD_1 ( ) ) ) + STRING_1 ; final long IDENT_1 = INT_0 ; final long IDENT_2 = INT_1 ; final com . cloud . IDENT_3 . resource . IDENT_4 . storage . utils . IDENT_5 file = new com . cloud . IDENT_3 . resource . IDENT_4 . storage . utils . METHOD_2 ( IDENT_0 , IDENT_1 , com . cloud . model . IDENT_6 . IDENT_7 . IDENT_8 ) ; try { final com . cloud . IDENT_3 . resource . IDENT_4 . storage . utils . IDENT_9 IDENT_10 = new com . cloud . IDENT_3 . resource . IDENT_4 . storage . utils . METHOD_3 ( 0 ) ; IDENT_10 . create ( file ) ; IDENT_10 . METHOD_4 ( file , IDENT_2 ) ; final java . util . Map < java . lang . String , java . lang . String > info = IDENT_10 . info ( file ) ; if ( info == null ) { org . junit . Assert . fail ( STRING_2 ) ; } final java . lang . Long IDENT_11 = java . lang . Long . METHOD_5 ( info . get ( new java . lang . String ( STRING_3 ) ) ) ; "<AssertPlaceHolder>" ; } catch ( final com . cloud . IDENT_3 . resource . IDENT_4 . storage . utils . IDENT_12 e ) { org . junit . Assert . fail ( e . getMessage ( ) ) ; } final java . io . File f = new java . io . File ( IDENT_0 ) ; f . delete ( ) ; } valueOf ( java . lang . String ) { java . lang . IDENT_13 IDENT_14 = 1 ; if ( ( METHOD_6 ( ) ) != null ) { METHOD_6 = ( ( java . lang . IDENT_13 ) ( METHOD_6 ( ) ) ) ; } final java . lang . Class < T > type = type ( ) ; if ( type . METHOD_7 ( com . cloud . framework . config . Boolean . class ) ) { return ( ( T ) ( java . lang . Boolean . valueOf ( value ) ) ) ; } else if ( type . METHOD_7 ( com . cloud . framework . config . Integer . class ) ) { return ( ( T ) ( new java . lang . Integer ( ( ( java . lang . Integer . METHOD_8 ( value ) ) * ( METHOD_6 . METHOD_9 ( ) ) ) ) ) ) ; } else if ( type . METHOD_7 ( com . cloud . framework . config . Long . class ) ) { return ( ( T ) ( new java . lang . Long ( ( ( java . lang . Long . METHOD_5 ( value ) ) * ( METHOD_6 . METHOD_10 ( ) ) ) ) ) ) ; } else if ( type . METHOD_7 ( com . cloud . framework . config . IDENT_15 . class ) ) { return ( ( T ) ( new java . lang . METHOD_11 ( java . lang . METHOD_11 . METHOD_12 ( value ) ) ) ) ; } else if ( type . METHOD_7 ( java . lang . String . class ) ) { return ( ( T ) ( value ) ) ; } else if ( type . METHOD_7 ( com . cloud . framework . config . IDENT_16 . class ) ) { return ( ( T ) ( new java . lang . METHOD_13 ( ( ( java . lang . METHOD_13 . METHOD_14 ( value ) ) * ( METHOD_6 . METHOD_15 ( ) ) ) ) ) ) ; } else if ( type . METHOD_7 ( com . cloud . framework . config . Double . class ) ) { return ( ( T ) ( new java . lang . Double ( ( ( java . lang . Double . METHOD_16 ( value ) ) * ( METHOD_6 . METHOD_17 ( ) ) ) ) ) ) ; } else if ( type . METHOD_7 ( java . lang . String . class ) ) { return ( ( T ) ( value ) ) ; } else if ( type . METHOD_7 ( java . sql . Date . class ) ) { return ( ( T ) ( java . sql . Date . valueOf ( value ) ) ) ; } else if ( type . METHOD_7 ( com . cloud . framework . config . IDENT_17 . class ) ) { return ( ( T ) ( new java . lang . METHOD_18 ( value . charAt ( 0 ) ) ) ) ; } else { throw new com . cloud . IDENT_18 . exceptions . METHOD_19 ( ( STRING_4 + type ) ) ; } }
org . junit . Assert . assertEquals ( java . lang . Long . valueOf ( IDENT_2 ) , java . lang . Long . valueOf ( IDENT_11 ) )
METHOD_0 ( ) { final java . lang . String IDENT_0 = ( STRING_0 + ( java . util . UUID . METHOD_1 ( ) ) ) + STRING_1 ; final long IDENT_1 = INT_0 ; final long IDENT_2 = INT_0 ; final com . cloud . IDENT_3 . resource . IDENT_4 . storage . utils . IDENT_5 file = new com . cloud . IDENT_3 . resource . IDENT_4 . storage . utils . METHOD_2 ( IDENT_0 , IDENT_1 , com . cloud . model . IDENT_6 . IDENT_7 . IDENT_8 ) ; try { final com . cloud . IDENT_3 . resource . IDENT_4 . storage . utils . IDENT_9 IDENT_10 = new com . cloud . IDENT_3 . resource . IDENT_4 . storage . utils . METHOD_3 ( 0 ) ; IDENT_10 . create ( file ) ; IDENT_10 . METHOD_4 ( file , IDENT_2 , true ) ; final java . util . Map < java . lang . String , java . lang . String > info = IDENT_10 . info ( file ) ; if ( info == null ) { org . junit . Assert . fail ( STRING_2 ) ; } final java . lang . Long IDENT_11 = java . lang . Long . METHOD_5 ( info . get ( new java . lang . String ( STRING_3 ) ) ) ; "<AssertPlaceHolder>" ; } catch ( final com . cloud . IDENT_3 . resource . IDENT_4 . storage . utils . IDENT_12 e ) { org . junit . Assert . fail ( e . getMessage ( ) ) ; } final java . io . File f = new java . io . File ( IDENT_0 ) ; f . delete ( ) ; } valueOf ( java . lang . String ) { java . lang . IDENT_13 IDENT_14 = 1 ; if ( ( METHOD_6 ( ) ) != null ) { METHOD_6 = ( ( java . lang . IDENT_13 ) ( METHOD_6 ( ) ) ) ; } final java . lang . Class < T > type = type ( ) ; if ( type . METHOD_7 ( com . cloud . framework . config . Boolean . class ) ) { return ( ( T ) ( java . lang . Boolean . valueOf ( value ) ) ) ; } else if ( type . METHOD_7 ( com . cloud . framework . config . Integer . class ) ) { return ( ( T ) ( new java . lang . Integer ( ( ( java . lang . Integer . METHOD_8 ( value ) ) * ( METHOD_6 . METHOD_9 ( ) ) ) ) ) ) ; } else if ( type . METHOD_7 ( com . cloud . framework . config . Long . class ) ) { return ( ( T ) ( new java . lang . Long ( ( ( java . lang . Long . METHOD_5 ( value ) ) * ( METHOD_6 . METHOD_10 ( ) ) ) ) ) ) ; } else if ( type . METHOD_7 ( com . cloud . framework . config . IDENT_15 . class ) ) { return ( ( T ) ( new java . lang . METHOD_11 ( java . lang . METHOD_11 . METHOD_12 ( value ) ) ) ) ; } else if ( type . METHOD_7 ( java . lang . String . class ) ) { return ( ( T ) ( value ) ) ; } else if ( type . METHOD_7 ( com . cloud . framework . config . IDENT_16 . class ) ) { return ( ( T ) ( new java . lang . METHOD_13 ( ( ( java . lang . METHOD_13 . METHOD_14 ( value ) ) * ( METHOD_6 . METHOD_15 ( ) ) ) ) ) ) ; } else if ( type . METHOD_7 ( com . cloud . framework . config . Double . class ) ) { return ( ( T ) ( new java . lang . Double ( ( ( java . lang . Double . METHOD_16 ( value ) ) * ( METHOD_6 . METHOD_17 ( ) ) ) ) ) ) ; } else if ( type . METHOD_7 ( java . lang . String . class ) ) { return ( ( T ) ( value ) ) ; } else if ( type . METHOD_7 ( java . sql . Date . class ) ) { return ( ( T ) ( java . sql . Date . valueOf ( value ) ) ) ; } else if ( type . METHOD_7 ( com . cloud . framework . config . IDENT_17 . class ) ) { return ( ( T ) ( new java . lang . METHOD_18 ( value . charAt ( 0 ) ) ) ) ; } else { throw new com . cloud . IDENT_18 . exceptions . METHOD_19 ( ( STRING_4 + type ) ) ; } }
org . junit . Assert . assertEquals ( java . lang . Long . valueOf ( ( IDENT_1 + IDENT_2 ) ) , java . lang . Long . valueOf ( IDENT_11 ) )
METHOD_0 ( ) { final long IDENT_0 = INT_0 ; final long IDENT_1 = 1000 ; final java . io . File IDENT_2 = org . mockito . Mockito . mock ( java . io . File . class ) ; org . mockito . Mockito . when ( IDENT_2 . length ( ) ) . thenReturn ( IDENT_1 ) ; org . mockito . Mockito . METHOD_1 ( new java . io . IOException ( STRING_0 ) ) . when ( this . processor ) . METHOD_2 ( ( ( java . io . File ) ( org . mockito . Mockito . any ( ) ) ) ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_2 , org . mockito . Mockito . times ( 1 ) ) . length ( ) ; } METHOD_3 ( java . io . File ) { try { final long size = METHOD_2 ( file ) ; return size ; } catch ( final java . lang . Exception e ) { com . cloud . common . IDENT_3 . IDENT_4 . IDENT_5 . info ( ( ( STRING_1 + STRING_2 ) + ( e . METHOD_4 ( ) ) ) ) ; } return file . length ( ) ; }
org . junit . Assert . assertEquals ( IDENT_1 , this . processor . METHOD_3 ( IDENT_2 ) )
METHOD_0 ( ) { final long IDENT_0 = INT_0 ; final long IDENT_1 = 1000 ; final java . io . File IDENT_2 = org . mockito . Mockito . mock ( java . io . File . class ) ; org . mockito . Mockito . when ( IDENT_2 . length ( ) ) . thenReturn ( IDENT_1 ) ; org . mockito . Mockito . doReturn ( IDENT_0 ) . when ( this . processor ) . METHOD_1 ( ( ( java . io . File ) ( org . mockito . Mockito . any ( ) ) ) ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_2 , org . mockito . Mockito . times ( 0 ) ) . length ( ) ; } METHOD_2 ( java . io . File ) { try { final long size = METHOD_1 ( file ) ; return size ; } catch ( final java . lang . Exception e ) { com . cloud . common . IDENT_3 . IDENT_4 . IDENT_5 . info ( ( ( STRING_0 + STRING_1 ) + ( e . METHOD_3 ( ) ) ) ) ; } return file . length ( ) ; }
org . junit . Assert . assertEquals ( IDENT_0 , this . processor . METHOD_2 ( IDENT_2 ) )
METHOD_0 ( ) { final java . io . File file = java . io . File . METHOD_1 ( "test" , STRING_0 ) ; org . apache . commons . io . IDENT_0 . METHOD_2 ( file , STRING_1 ) ; final java . util . Properties properties = com . cloud . utils . IDENT_1 . METHOD_3 ( file ) ; "<AssertPlaceHolder>" ; } get ( byte ) { for ( final com . cloud . common . transport . IDENT_2 . IDENT_3 version : com . cloud . common . transport . IDENT_2 . IDENT_3 . values ( ) ) { if ( IDENT_4 == ( version . METHOD_4 ( ) ) ) { return version ; } } throw new com . cloud . IDENT_5 . exceptions . METHOD_5 ( ( STRING_2 + IDENT_4 ) , com . cloud . IDENT_5 . exceptions . METHOD_5 . IDENT_6 ) ; }
org . junit . Assert . assertEquals ( "b" , properties . get ( "a" ) )
METHOD_0 ( ) { org . junit . IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 ) ; final com . cloud . utils . script . IDENT_3 script = new com . cloud . utils . script . METHOD_2 ( STRING_0 ) ; script . add ( STRING_1 ) ; script . add ( STRING_2 ) ; final java . lang . String value = script . execute ( new com . cloud . utils . script . METHOD_3 ( ) { @ com . cloud . utils . Override public java . lang . String METHOD_4 ( final java . io . IDENT_4 reader ) throws java . io . IOException { throw new java . lang . IllegalArgumentException ( ) ; } } ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . io . IDENT_4 ) { java . lang . String line = null ; while ( ( line = reader . METHOD_5 ( ) ) != null ) { this . IDENT_5 . add ( line ) ; } return null ; }
org . junit . Assert . assertNotNull ( value )
METHOD_0 ( ) { org . junit . IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 ) ; final java . lang . String output = com . cloud . utils . script . IDENT_3 . METHOD_2 ( ( STRING_0 + ( java . lang . System . currentTimeMillis ( ) ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { return com . cloud . utils . script . IDENT_3 . METHOD_2 ( command , 0 ) ; }
org . junit . Assert . assertNull ( output )
METHOD_0 ( ) { org . apache . flink . api . common . IDENT_0 . IDENT_1 max = new org . apache . flink . api . common . IDENT_0 . METHOD_1 ( ) ; max . add ( FLOAT_0 ) ; max . add ( FLOAT_1 ) ; max . add ( ( - FLOAT_2 ) ) ; max . add ( ( - FLOAT_3 ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return null ; }
org . junit . Assert . assertEquals ( FLOAT_1 , max . METHOD_2 ( ) , 0.0 )
METHOD_0 ( ) { final com . cloud . utils . IDENT_0 . impl . IDENT_1 IDENT_0 = new com . cloud . utils . IDENT_0 . impl . METHOD_1 ( ) ; IDENT_0 . METHOD_2 ( 10 ) ; final java . lang . Thread IDENT_2 = new java . lang . Thread ( new java . lang . METHOD_3 ( ) { @ com . cloud . utils . IDENT_0 . impl . Override public void run ( ) { com . cloud . utils . IDENT_0 . impl . IDENT_3 . LOG . debug ( STRING_0 ) ; IDENT_0 . METHOD_4 ( ) ; com . cloud . utils . IDENT_0 . impl . IDENT_3 . LOG . debug ( STRING_1 ) ; } } ) ; IDENT_2 . start ( ) ; com . cloud . utils . IDENT_0 . impl . IDENT_3 . LOG . debug ( STRING_2 ) ; java . lang . Thread . sleep ( 100 ) ; com . cloud . utils . IDENT_0 . impl . IDENT_3 . LOG . debug ( STRING_3 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String ) { final java . lang . Thread IDENT_4 = IDENT_5 . get ( IDENT_6 ) ; if ( IDENT_4 != null ) { IDENT_4 . METHOD_6 ( ) ; return true ; } return false ; }
org . junit . Assert . assertTrue ( IDENT_0 . METHOD_5 ( IDENT_2 . getName ( ) ) )
METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 + ( ( ( ( ( ( STRING_1 + STRING_2 ) + STRING_3 ) + STRING_4 ) + STRING_5 ) + STRING_6 ) + STRING_7 ) ; final java . lang . String IDENT_1 = com . cloud . utils . IDENT_2 . IDENT_3 . METHOD_1 ( IDENT_0 , STRING_8 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . lang . String ) { java . lang . String IDENT_4 = null ; try { final java . security . interfaces . IDENT_5 IDENT_6 = com . cloud . utils . IDENT_2 . IDENT_3 . METHOD_2 ( IDENT_7 ) ; final javax . crypto . IDENT_8 IDENT_9 = javax . crypto . IDENT_8 . getInstance ( STRING_9 , IDENT_10 . IDENT_11 ) ; IDENT_9 . init ( IDENT_8 . IDENT_12 , IDENT_6 , new java . security . METHOD_3 ( ) ) ; final byte [ ] IDENT_13 = IDENT_9 . METHOD_4 ( content . getBytes ( ) ) ; IDENT_4 = org . apache . commons . codec . IDENT_14 . IDENT_15 . METHOD_5 ( IDENT_13 ) ; } catch ( final java . lang . Exception e ) { com . cloud . utils . IDENT_2 . IDENT_3 . IDENT_16 . info ( ( ( STRING_10 + STRING_11 ) + ( e . METHOD_6 ( ) ) ) ) ; } return IDENT_4 ; }
org . junit . Assert . assertNull ( IDENT_1 )
METHOD_0 ( ) { final com . cloud . utils . net . IDENT_0 IDENT_1 = new com . cloud . utils . net . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return IDENT_2 ; }
org . junit . Assert . assertEquals ( 0L , IDENT_1 . METHOD_2 ( ) )
METHOD_0 ( ) { final com . cloud . utils . net . IDENT_0 IDENT_1 = new com . cloud . utils . net . METHOD_1 ( 1L ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return IDENT_2 ; }
org . junit . Assert . assertEquals ( 1L , IDENT_1 . METHOD_2 ( ) )
METHOD_0 ( ) { final com . cloud . utils . net . IDENT_0 IDENT_1 = new com . cloud . utils . net . METHOD_1 ( Long . MAX_VALUE ) ; "<AssertPlaceHolder>" ; System . out . println ( IDENT_1 . toString ( ) ) ; } METHOD_2 ( ) { return IDENT_2 ; }
org . junit . Assert . assertEquals ( Long . MAX_VALUE , IDENT_1 . METHOD_2 ( ) )
METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { final java . lang . String IDENT_1 = STRING_1 ; final java . lang . String IDENT_2 = STRING_2 ; final java . lang . String IDENT_3 = STRING_3 ; if ( ! ( com . cloud . utils . net . IDENT_4 . METHOD_2 ( IDENT_5 ) ) ) { com . cloud . utils . net . IDENT_4 . IDENT_6 . warn ( ( ( STRING_4 + IDENT_5 ) + STRING_5 ) ) ; return false ; } if ( ( ( com . cloud . utils . net . IDENT_4 . METHOD_3 ( IDENT_5 , IDENT_1 ) ) || ( com . cloud . utils . net . IDENT_4 . METHOD_3 ( IDENT_5 , IDENT_2 ) ) ) || ( com . cloud . utils . net . IDENT_4 . METHOD_3 ( IDENT_5 , IDENT_3 ) ) ) { return true ; } else { com . cloud . utils . net . IDENT_4 . IDENT_6 . warn ( ( ( STRING_6 + IDENT_5 ) + STRING_7 ) ) ; return false ; } }
org . junit . Assert . assertTrue ( com . cloud . utils . net . IDENT_4 . METHOD_1 ( IDENT_0 ) )
METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . lang . String ) { if ( ! ( com . cloud . utils . net . IDENT_0 . METHOD_2 ( IDENT_1 , IDENT_2 ) ) ) { return false ; } final java . lang . Long [ ] IDENT_3 = com . cloud . utils . net . IDENT_0 . METHOD_3 ( IDENT_1 ) ; final java . lang . Long [ ] IDENT_4 = com . cloud . utils . net . IDENT_0 . METHOD_3 ( IDENT_2 ) ; final long IDENT_5 = ( com . cloud . utils . net . IDENT_0 . IDENT_6 ) - ( IDENT_4 [ 1 ] ) ; return ( ( ( IDENT_3 [ 0 ] ) > > IDENT_5 ) == ( ( IDENT_4 [ 0 ] ) > > IDENT_5 ) ) && ( ( IDENT_3 [ 1 ] ) >= ( IDENT_4 [ 1 ] ) ) ; }
org . junit . Assert . assertEquals ( false , com . cloud . utils . net . IDENT_0 . METHOD_1 ( "" , null ) )
METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . lang . String ) { try { final java . lang . Long [ ] IDENT_0 = com . cloud . utils . net . IDENT_1 . METHOD_2 ( IDENT_2 ) ; final java . lang . Long [ ] IDENT_3 = com . cloud . utils . net . IDENT_1 . METHOD_2 ( IDENT_4 ) ; final long IDENT_5 = ( com . cloud . utils . net . IDENT_1 . IDENT_6 ) - ( ( IDENT_0 [ 1 ] ) > ( IDENT_3 [ 1 ] ) ? IDENT_3 [ 1 ] : IDENT_0 [ 1 ] ) ; return ( ( IDENT_0 [ 0 ] ) > > IDENT_5 ) == ( ( IDENT_3 [ 0 ] ) > > IDENT_5 ) ; } catch ( final com . cloud . IDENT_7 . exceptions . IDENT_8 e ) { com . cloud . utils . net . IDENT_1 . IDENT_9 . error ( e . METHOD_3 ( ) , e ) ; } return false ; }
org . junit . Assert . assertEquals ( false , com . cloud . utils . net . IDENT_1 . METHOD_1 ( "" , null ) )
METHOD_0 ( ) { org . apache . flink . api . common . IDENT_0 . IDENT_1 min = new org . apache . flink . api . common . IDENT_0 . METHOD_1 ( ) ; min . add ( FLOAT_0 ) ; min . add ( FLOAT_1 ) ; min . add ( ( - FLOAT_2 ) ) ; min . add ( ( - FLOAT_3 ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return null ; }
org . junit . Assert . assertEquals ( ( - FLOAT_2 ) , min . METHOD_2 ( ) , 0.0 )
METHOD_0 ( ) { final com . cloud . api . command . admin . storage . IDENT_0 IDENT_1 = new com . cloud . api . command . admin . storage . METHOD_1 ( ) ; com . cloud . api . IDENT_2 . set ( IDENT_1 , STRING_0 , new java . util . HashMap < java . lang . String , java . util . Map < java . lang . String , java . lang . String > > ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return IDENT_3 ; }
org . junit . Assert . assertNull ( IDENT_1 . METHOD_2 ( ) )
METHOD_0 ( ) { final com . cloud . api . command . admin . storage . IDENT_0 IDENT_1 = new com . cloud . api . command . admin . storage . METHOD_1 ( ) ; com . cloud . api . IDENT_2 . set ( IDENT_1 , STRING_0 , null ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return IDENT_3 ; }
org . junit . Assert . assertNull ( IDENT_1 . METHOD_2 ( ) )
METHOD_0 ( ) { final com . cloud . api . command . admin . IDENT_0 . IDENT_1 IDENT_2 = new com . cloud . api . command . admin . IDENT_0 . METHOD_1 ( ) ; com . cloud . api . IDENT_3 . set ( IDENT_2 , IDENT_4 . IDENT_5 , new java . util . HashMap < java . lang . String , java . util . Map < java . lang . String , java . lang . String > > ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { java . util . Map < java . lang . String , java . util . List < java . lang . String > > IDENT_6 = null ; if ( ( ( IDENT_7 ) != null ) && ( ! ( IDENT_7 . isEmpty ( ) ) ) ) { IDENT_6 = new java . util . HashMap ( ) ; final java . util . Collection < ? extends java . util . Map < java . lang . String , java . lang . String > > IDENT_8 = IDENT_7 . values ( ) ; final java . util . Iterator < ? extends java . util . Map < java . lang . String , java . lang . String > > IDENT_9 = IDENT_8 . iterator ( ) ; while ( IDENT_9 . hasNext ( ) ) { final java . util . Map < java . lang . String , java . lang . String > obj = IDENT_9 . next ( ) ; if ( com . cloud . api . command . admin . IDENT_0 . METHOD_1 . IDENT_10 . METHOD_3 ( ) ) { com . cloud . api . command . admin . IDENT_0 . METHOD_1 . IDENT_10 . trace ( ( STRING_0 + obj ) ) ; } final java . util . HashMap < java . lang . String , java . lang . String > services = ( ( java . util . HashMap < java . lang . String , java . lang . String > ) ( obj ) ) ; final java . lang . String service = services . get ( STRING_1 ) ; final java . lang . String provider = services . get ( STRING_2 ) ; java . util . List < java . lang . String > IDENT_11 = null ; if ( IDENT_6 . containsKey ( service ) ) { IDENT_11 = IDENT_6 . get ( service ) ; } else { IDENT_11 = new java . util . ArrayList ( ) ; } IDENT_11 . add ( provider ) ; IDENT_6 . put ( service , IDENT_11 ) ; } } return IDENT_6 ; }
org . junit . Assert . assertNull ( IDENT_2 . METHOD_2 ( ) )
METHOD_0 ( ) { final com . cloud . IDENT_0 . exceptions . IDENT_1 IDENT_2 = new com . cloud . IDENT_0 . exceptions . METHOD_1 ( true , STRING_0 ) ; org . mockito . Mockito . when ( IDENT_3 . METHOD_2 ( org . mockito . Mockito . METHOD_3 ( ) ) ) . thenReturn ( host ) ; org . mockito . Mockito . METHOD_4 ( IDENT_2 ) . when ( IDENT_4 ) . METHOD_5 ( org . mockito . Mockito . eq ( host ) , org . mockito . Mockito . eq ( IDENT_5 ) , org . mockito . Mockito . eq ( false ) ) ; org . mockito . Mockito . doReturn ( true ) . when ( IDENT_6 ) . METHOD_6 ( org . mockito . Mockito . any ( IDENT_7 . getClass ( ) ) , org . mockito . Mockito . any ( com . cloud . model . IDENT_8 . IDENT_9 . class ) , org . mockito . Mockito . METHOD_7 ( ) , org . mockito . Mockito . METHOD_7 ( ) ) ; try { IDENT_6 . METHOD_8 ( IDENT_7 , IDENT_5 , false ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( final com . cloud . IDENT_0 . exceptions . METHOD_1 e ) { "<AssertPlaceHolder>" ; } org . mockito . Mockito . verify ( IDENT_6 , org . mockito . Mockito . times ( 1 ) ) . METHOD_6 ( org . mockito . Mockito . any ( IDENT_7 . getClass ( ) ) , org . mockito . Mockito . eq ( IDENT_9 . IDENT_10 ) , org . mockito . Mockito . eq ( true ) , org . mockito . Mockito . eq ( true ) ) ; } getMessage ( ) { return message ; }
org . junit . Assert . assertEquals ( e . getMessage ( ) , IDENT_2 . getMessage ( ) )
METHOD_0 ( ) { final com . cloud . utils . nio . IDENT_0 IDENT_1 = mock ( com . cloud . utils . nio . IDENT_0 . class ) ; final com . cloud . IDENT_2 . manager . IDENT_3 IDENT_4 = new com . cloud . IDENT_2 . manager . METHOD_1 ( null , 0 , null , IDENT_1 , false ) ; final com . cloud . IDENT_2 . manager . METHOD_1 IDENT_5 = new com . cloud . IDENT_2 . manager . METHOD_1 ( null , 0 , null , IDENT_1 , false ) ; "<AssertPlaceHolder>" ; } equals ( java . lang . Object ) { if ( o == null ) { return false ; } if ( o instanceof com . cloud . utils . events . IDENT_6 . IDENT_7 ) { return ( ( ( this . clazz ) == ( ( ( com . cloud . utils . events . IDENT_6 . IDENT_7 ) ( o ) ) . clazz ) ) && ( ( this . IDENT_8 ) == ( ( ( com . cloud . utils . events . IDENT_6 . IDENT_7 ) ( o ) ) . IDENT_8 ) ) ) && ( this . IDENT_9 . equals ( ( ( com . cloud . utils . events . IDENT_6 . IDENT_7 ) ( o ) ) . IDENT_9 ) ) ; } return false ; }
org . junit . Assert . assertTrue ( IDENT_4 . equals ( IDENT_5 ) )
METHOD_0 ( ) { final com . cloud . utils . nio . IDENT_0 IDENT_1 = mock ( com . cloud . utils . nio . IDENT_0 . class ) ; final com . cloud . IDENT_2 . manager . IDENT_3 IDENT_4 = new com . cloud . IDENT_2 . manager . METHOD_1 ( null , 0 , null , IDENT_1 , false ) ; "<AssertPlaceHolder>" ; } equals ( java . lang . Object ) { if ( o == null ) { return false ; } if ( o instanceof com . cloud . utils . events . IDENT_5 . IDENT_6 ) { return ( ( ( this . clazz ) == ( ( ( com . cloud . utils . events . IDENT_5 . IDENT_6 ) ( o ) ) . clazz ) ) && ( ( this . IDENT_7 ) == ( ( ( com . cloud . utils . events . IDENT_5 . IDENT_6 ) ( o ) ) . IDENT_7 ) ) ) && ( this . IDENT_8 . equals ( ( ( com . cloud . utils . events . IDENT_5 . IDENT_6 ) ( o ) ) . IDENT_8 ) ) ; } return false ; }
org . junit . Assert . assertFalse ( IDENT_4 . equals ( null ) )
METHOD_0 ( ) { final com . cloud . utils . nio . IDENT_0 IDENT_1 = mock ( com . cloud . utils . nio . IDENT_0 . class ) ; final com . cloud . utils . nio . IDENT_0 IDENT_2 = mock ( com . cloud . utils . nio . IDENT_0 . class ) ; final com . cloud . IDENT_3 . manager . IDENT_4 IDENT_5 = new com . cloud . IDENT_3 . manager . METHOD_1 ( null , 0 , null , IDENT_1 , false ) ; final com . cloud . IDENT_3 . manager . METHOD_1 IDENT_6 = new com . cloud . IDENT_3 . manager . METHOD_1 ( null , 0 , null , IDENT_2 , false ) ; "<AssertPlaceHolder>" ; } equals ( java . lang . Object ) { if ( o == null ) { return false ; } if ( o instanceof com . cloud . utils . events . IDENT_7 . IDENT_8 ) { return ( ( ( this . clazz ) == ( ( ( com . cloud . utils . events . IDENT_7 . IDENT_8 ) ( o ) ) . clazz ) ) && ( ( this . IDENT_9 ) == ( ( ( com . cloud . utils . events . IDENT_7 . IDENT_8 ) ( o ) ) . IDENT_9 ) ) ) && ( this . IDENT_10 . equals ( ( ( com . cloud . utils . events . IDENT_7 . IDENT_8 ) ( o ) ) . IDENT_10 ) ) ; } return false ; }
org . junit . Assert . assertFalse ( IDENT_5 . equals ( IDENT_6 ) )
METHOD_0 ( ) { org . apache . flink . api . common . IDENT_0 . IDENT_1 min = new org . apache . flink . api . common . IDENT_0 . METHOD_1 ( ) ; double value = FLOAT_0 ; min . add ( value ) ; org . apache . flink . api . common . IDENT_0 . METHOD_1 IDENT_2 = min . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return null ; }
org . junit . Assert . assertEquals ( value , METHOD_2 . METHOD_3 ( ) , 0.0 )
METHOD_0 ( ) { org . mockito . Mockito . when ( IDENT_0 . METHOD_1 ( 1 ) ) . thenReturn ( false ) ; org . mockito . Mockito . when ( IDENT_0 . METHOD_2 ( 1 ) ) . thenReturn ( false ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_0 ) . METHOD_2 ( 1 ) ; } METHOD_1 ( java . lang . Class , java . sql . ResultSet , int ) { if ( type == ( java . lang . String . class ) ) { final byte [ ] bytes = rs . getBytes ( index ) ; if ( bytes != null ) { try { return ( ( IDENT_1 ) ( new java . lang . String ( bytes , STRING_0 ) ) ) ; } catch ( final java . io . IDENT_2 e ) { throw new com . cloud . IDENT_3 . exceptions . METHOD_3 ( STRING_1 ) ; } } else { return null ; } } else if ( type == ( int . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Integer ) ( rs . METHOD_4 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Integer . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Integer ) ( rs . METHOD_4 ( index ) ) ) ) ; } } else if ( type == ( long . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Long ) ( rs . METHOD_5 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Long . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Long ) ( rs . METHOD_5 ( index ) ) ) ) ; } } else if ( type == ( java . util . Date . class ) ) { final java . lang . Object data = rs . METHOD_6 ( index ) ; if ( data == null ) { return null ; } else { return ( ( IDENT_1 ) ( com . cloud . utils . IDENT_4 . METHOD_7 ( com . cloud . utils . db . IDENT_5 . IDENT_6 , rs . getString ( index ) ) ) ) ; } } else if ( type == ( short . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . IDENT_7 ) ( rs . METHOD_8 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . IDENT_7 . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . IDENT_7 ) ( rs . METHOD_8 ( index ) ) ) ) ; } } else if ( type == ( boolean . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Boolean ) ( rs . METHOD_2 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Boolean . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Boolean ) ( rs . METHOD_2 ( index ) ) ) ) ; } } else if ( type == ( float . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . IDENT_8 ) ( rs . METHOD_9 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . IDENT_8 . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . IDENT_8 ) ( rs . METHOD_9 ( index ) ) ) ) ; } } else if ( type == ( double . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Double ) ( rs . METHOD_10 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Double . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Double ) ( rs . METHOD_10 ( index ) ) ) ) ; } } else if ( type == ( byte . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . IDENT_9 ) ( rs . METHOD_11 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . IDENT_9 . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . IDENT_9 ) ( rs . METHOD_11 ( index ) ) ) ) ; } } else if ( type == ( java . util . Calendar . class ) ) { final java . lang . Object data = rs . METHOD_6 ( index ) ; if ( data == null ) { return null ; } else { final java . util . Calendar IDENT_10 = java . util . Calendar . getInstance ( ) ; IDENT_10 . METHOD_12 ( com . cloud . utils . IDENT_4 . METHOD_7 ( com . cloud . utils . db . IDENT_5 . IDENT_6 , rs . getString ( index ) ) ) ; return ( ( IDENT_1 ) ( IDENT_10 ) ) ; } } else if ( type == ( byte [ ] . class ) ) { return ( ( IDENT_1 ) ( rs . getBytes ( index ) ) ) ; } else { return ( ( IDENT_1 ) ( rs . METHOD_1 ( index ) ) ) ; } }
org . junit . Assert . assertFalse ( com . cloud . utils . db . IDENT_5 . METHOD_1 ( com . cloud . utils . db . Boolean . class , IDENT_0 , 1 ) )
METHOD_0 ( ) { org . mockito . Mockito . when ( IDENT_0 . METHOD_1 ( 1 ) ) . thenReturn ( false ) ; org . mockito . Mockito . when ( IDENT_0 . METHOD_2 ( 1 ) ) . thenReturn ( false ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_0 ) . METHOD_2 ( 1 ) ; } METHOD_1 ( java . lang . Class , java . sql . ResultSet , int ) { if ( type == ( java . lang . String . class ) ) { final byte [ ] bytes = rs . getBytes ( index ) ; if ( bytes != null ) { try { return ( ( IDENT_1 ) ( new java . lang . String ( bytes , STRING_0 ) ) ) ; } catch ( final java . io . IDENT_2 e ) { throw new com . cloud . IDENT_3 . exceptions . METHOD_3 ( STRING_1 ) ; } } else { return null ; } } else if ( type == ( int . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Integer ) ( rs . METHOD_4 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Integer . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Integer ) ( rs . METHOD_4 ( index ) ) ) ) ; } } else if ( type == ( long . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Long ) ( rs . METHOD_5 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Long . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Long ) ( rs . METHOD_5 ( index ) ) ) ) ; } } else if ( type == ( java . util . Date . class ) ) { final java . lang . Object data = rs . METHOD_6 ( index ) ; if ( data == null ) { return null ; } else { return ( ( IDENT_1 ) ( com . cloud . utils . IDENT_4 . METHOD_7 ( com . cloud . utils . db . IDENT_5 . IDENT_6 , rs . getString ( index ) ) ) ) ; } } else if ( type == ( short . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . IDENT_7 ) ( rs . METHOD_8 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . IDENT_7 . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . IDENT_7 ) ( rs . METHOD_8 ( index ) ) ) ) ; } } else if ( type == ( boolean . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Boolean ) ( rs . METHOD_2 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Boolean . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Boolean ) ( rs . METHOD_2 ( index ) ) ) ) ; } } else if ( type == ( float . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . IDENT_8 ) ( rs . METHOD_9 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . IDENT_8 . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . IDENT_8 ) ( rs . METHOD_9 ( index ) ) ) ) ; } } else if ( type == ( double . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Double ) ( rs . METHOD_10 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Double . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Double ) ( rs . METHOD_10 ( index ) ) ) ) ; } } else if ( type == ( byte . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . IDENT_9 ) ( rs . METHOD_11 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . IDENT_9 . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . IDENT_9 ) ( rs . METHOD_11 ( index ) ) ) ) ; } } else if ( type == ( java . util . Calendar . class ) ) { final java . lang . Object data = rs . METHOD_6 ( index ) ; if ( data == null ) { return null ; } else { final java . util . Calendar IDENT_10 = java . util . Calendar . getInstance ( ) ; IDENT_10 . METHOD_12 ( com . cloud . utils . IDENT_4 . METHOD_7 ( com . cloud . utils . db . IDENT_5 . IDENT_6 , rs . getString ( index ) ) ) ; return ( ( IDENT_1 ) ( IDENT_10 ) ) ; } } else if ( type == ( byte [ ] . class ) ) { return ( ( IDENT_1 ) ( rs . getBytes ( index ) ) ) ; } else { return ( ( IDENT_1 ) ( rs . METHOD_1 ( index ) ) ) ; } }
org . junit . Assert . assertFalse ( com . cloud . utils . db . IDENT_5 . METHOD_1 ( boolean . class , IDENT_0 , 1 ) )
METHOD_0 ( ) { org . mockito . Mockito . when ( IDENT_0 . METHOD_1 ( 1 ) ) . thenReturn ( FLOAT_0 ) ; org . mockito . Mockito . when ( IDENT_0 . METHOD_2 ( 1 ) ) . thenReturn ( FLOAT_0 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_0 ) . METHOD_2 ( 1 ) ; } METHOD_1 ( java . lang . Class , java . sql . ResultSet , int ) { if ( type == ( java . lang . String . class ) ) { final byte [ ] bytes = rs . getBytes ( index ) ; if ( bytes != null ) { try { return ( ( IDENT_1 ) ( new java . lang . String ( bytes , STRING_0 ) ) ) ; } catch ( final java . io . IDENT_2 e ) { throw new com . cloud . IDENT_3 . exceptions . METHOD_3 ( STRING_1 ) ; } } else { return null ; } } else if ( type == ( int . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Integer ) ( rs . METHOD_4 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Integer . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Integer ) ( rs . METHOD_4 ( index ) ) ) ) ; } } else if ( type == ( long . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Long ) ( rs . METHOD_5 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Long . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Long ) ( rs . METHOD_5 ( index ) ) ) ) ; } } else if ( type == ( java . util . Date . class ) ) { final java . lang . Object data = rs . METHOD_6 ( index ) ; if ( data == null ) { return null ; } else { return ( ( IDENT_1 ) ( com . cloud . utils . IDENT_4 . METHOD_7 ( com . cloud . utils . db . IDENT_5 . IDENT_6 , rs . getString ( index ) ) ) ) ; } } else if ( type == ( short . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . IDENT_7 ) ( rs . METHOD_8 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . IDENT_7 . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . IDENT_7 ) ( rs . METHOD_8 ( index ) ) ) ) ; } } else if ( type == ( boolean . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Boolean ) ( rs . METHOD_9 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Boolean . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Boolean ) ( rs . METHOD_9 ( index ) ) ) ) ; } } else if ( type == ( float . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . IDENT_8 ) ( rs . METHOD_10 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . IDENT_8 . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . IDENT_8 ) ( rs . METHOD_10 ( index ) ) ) ) ; } } else if ( type == ( double . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Double ) ( rs . METHOD_2 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Double . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Double ) ( rs . METHOD_2 ( index ) ) ) ) ; } } else if ( type == ( byte . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . IDENT_9 ) ( rs . METHOD_11 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . IDENT_9 . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . IDENT_9 ) ( rs . METHOD_11 ( index ) ) ) ) ; } } else if ( type == ( java . util . Calendar . class ) ) { final java . lang . Object data = rs . METHOD_6 ( index ) ; if ( data == null ) { return null ; } else { final java . util . Calendar IDENT_10 = java . util . Calendar . getInstance ( ) ; IDENT_10 . METHOD_12 ( com . cloud . utils . IDENT_4 . METHOD_7 ( com . cloud . utils . db . IDENT_5 . IDENT_6 , rs . getString ( index ) ) ) ; return ( ( IDENT_1 ) ( IDENT_10 ) ) ; } } else if ( type == ( byte [ ] . class ) ) { return ( ( IDENT_1 ) ( rs . getBytes ( index ) ) ) ; } else { return ( ( IDENT_1 ) ( rs . METHOD_1 ( index ) ) ) ; } }
org . junit . Assert . assertEquals ( FLOAT_0 , com . cloud . utils . db . IDENT_5 . METHOD_1 ( double . class , IDENT_0 , 1 ) , FLOAT_0 )
METHOD_0 ( ) { org . mockito . Mockito . when ( IDENT_0 . METHOD_1 ( 1 ) ) . thenReturn ( FLOAT_0 ) ; org . mockito . Mockito . when ( IDENT_0 . METHOD_2 ( 1 ) ) . thenReturn ( FLOAT_0 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_0 ) . METHOD_2 ( 1 ) ; } METHOD_1 ( java . lang . Class , java . sql . ResultSet , int ) { if ( type == ( java . lang . String . class ) ) { final byte [ ] bytes = rs . getBytes ( index ) ; if ( bytes != null ) { try { return ( ( IDENT_1 ) ( new java . lang . String ( bytes , STRING_0 ) ) ) ; } catch ( final java . io . IDENT_2 e ) { throw new com . cloud . IDENT_3 . exceptions . METHOD_3 ( STRING_1 ) ; } } else { return null ; } } else if ( type == ( int . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Integer ) ( rs . METHOD_4 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Integer . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Integer ) ( rs . METHOD_4 ( index ) ) ) ) ; } } else if ( type == ( long . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Long ) ( rs . METHOD_5 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Long . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Long ) ( rs . METHOD_5 ( index ) ) ) ) ; } } else if ( type == ( java . util . Date . class ) ) { final java . lang . Object data = rs . METHOD_6 ( index ) ; if ( data == null ) { return null ; } else { return ( ( IDENT_1 ) ( com . cloud . utils . IDENT_4 . METHOD_7 ( com . cloud . utils . db . IDENT_5 . IDENT_6 , rs . getString ( index ) ) ) ) ; } } else if ( type == ( short . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . IDENT_7 ) ( rs . METHOD_8 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . IDENT_7 . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . IDENT_7 ) ( rs . METHOD_8 ( index ) ) ) ) ; } } else if ( type == ( boolean . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Boolean ) ( rs . METHOD_9 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Boolean . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Boolean ) ( rs . METHOD_9 ( index ) ) ) ) ; } } else if ( type == ( float . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . IDENT_8 ) ( rs . METHOD_10 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . IDENT_8 . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . IDENT_8 ) ( rs . METHOD_10 ( index ) ) ) ) ; } } else if ( type == ( double . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Double ) ( rs . METHOD_2 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Double . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Double ) ( rs . METHOD_2 ( index ) ) ) ) ; } } else if ( type == ( byte . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . IDENT_9 ) ( rs . METHOD_11 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . IDENT_9 . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . IDENT_9 ) ( rs . METHOD_11 ( index ) ) ) ) ; } } else if ( type == ( java . util . Calendar . class ) ) { final java . lang . Object data = rs . METHOD_6 ( index ) ; if ( data == null ) { return null ; } else { final java . util . Calendar IDENT_10 = java . util . Calendar . getInstance ( ) ; IDENT_10 . METHOD_12 ( com . cloud . utils . IDENT_4 . METHOD_7 ( com . cloud . utils . db . IDENT_5 . IDENT_6 , rs . getString ( index ) ) ) ; return ( ( IDENT_1 ) ( IDENT_10 ) ) ; } } else if ( type == ( byte [ ] . class ) ) { return ( ( IDENT_1 ) ( rs . getBytes ( index ) ) ) ; } else { return ( ( IDENT_1 ) ( rs . METHOD_1 ( index ) ) ) ; } }
org . junit . Assert . assertEquals ( FLOAT_0 , com . cloud . utils . db . IDENT_5 . METHOD_1 ( com . cloud . utils . db . Double . class , IDENT_0 , 1 ) , FLOAT_0 )
METHOD_0 ( ) { try { org . apache . flink . api . common . IDENT_0 . util . IDENT_1 ctx = new org . apache . flink . api . common . IDENT_0 . util . METHOD_1 ( IDENT_2 , getClass ( ) . METHOD_2 ( ) , new org . apache . flink . api . common . METHOD_3 ( ) , new java . util . HashMap ( ) , new java . util . HashMap ( ) , new org . apache . flink . metrics . IDENT_3 . METHOD_4 ( ) ) ; "<AssertPlaceHolder>" ; try { ctx . METHOD_5 ( STRING_0 ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( java . lang . IllegalArgumentException e ) { } try { ctx . METHOD_6 ( STRING_0 , new org . apache . flink . api . common . IDENT_0 . IDENT_4 < java . lang . Object , java . lang . Object > ( ) { public java . lang . Object METHOD_7 ( java . lang . IDENT_5 < java . lang . Object > data ) { return null ; } } ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( java . lang . IllegalArgumentException e ) { } } catch ( java . lang . Exception e ) { e . printStackTrace ( ) ; org . junit . Assert . fail ( e . getMessage ( ) ) ; } } METHOD_8 ( java . lang . String ) { return this . IDENT_6 . containsKey ( name ) ; }
org . junit . Assert . assertFalse ( ctx . METHOD_8 ( STRING_0 ) )
METHOD_0 ( ) { try { com . cloud . utils . db . IDENT_0 . execute ( new com . cloud . utils . db . IDENT_1 < java . lang . Object > ( ) { @ com . cloud . utils . db . Override public java . lang . Object METHOD_1 ( final com . cloud . utils . db . IDENT_2 status ) { throw new java . lang . RuntimeException ( STRING_0 ) ; } } ) ; org . junit . Assert . fail ( ) ; } catch ( final java . lang . RuntimeException e ) { "<AssertPlaceHolder>" ; } verify ( conn ) . METHOD_2 ( false ) ; verify ( conn , times ( 0 ) ) . commit ( ) ; verify ( conn , times ( 1 ) ) . METHOD_3 ( ) ; verify ( conn , times ( 1 ) ) . close ( ) ; } getMessage ( ) { return message ; }
org . junit . Assert . assertEquals ( STRING_0 , e . getMessage ( ) )
METHOD_0 ( ) { final com . cloud . framework . IDENT_0 . IDENT_1 . IDENT_2 < java . lang . String > context = new com . cloud . framework . IDENT_0 . IDENT_1 . IDENT_2 < > ( null ) ; final com . cloud . framework . IDENT_3 . IDENT_4 < com . cloud . framework . IDENT_0 . IDENT_1 , java . lang . Object > IDENT_5 = com . cloud . framework . IDENT_3 . IDENT_4 . create ( this ) ; IDENT_5 . METHOD_1 ( IDENT_5 . METHOD_2 ( ) . METHOD_3 ( null , null ) ) . METHOD_4 ( context ) ; final java . lang . String test = "test" ; IDENT_6 . METHOD_5 ( test , IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { if ( ! ( IDENT_7 ) ) { METHOD_7 ( ) ; } return result ; }
org . junit . Assert . assertEquals ( test , context . METHOD_6 ( ) )
METHOD_0 ( ) { IDENT_0 . METHOD_1 ( "/" , new com . cloud . framework . IDENT_1 . METHOD_2 ( ) { @ com . cloud . IDENT_1 . Override public void METHOD_3 ( final java . lang . String IDENT_2 , final java . lang . String subject , final java . lang . Object args ) { "<AssertPlaceHolder>" ; } } ) ; IDENT_0 . METHOD_4 ( null , STRING_0 , IDENT_3 . IDENT_4 , null ) ; IDENT_0 . METHOD_4 ( null , STRING_1 , IDENT_3 . IDENT_4 , null ) ; IDENT_0 . METHOD_5 ( ) ; } equals ( java . lang . Object ) { if ( o == null ) { return false ; } if ( o instanceof com . cloud . utils . events . IDENT_5 . IDENT_6 ) { return ( ( ( this . clazz ) == ( ( ( com . cloud . utils . events . IDENT_5 . IDENT_6 ) ( o ) ) . clazz ) ) && ( ( this . IDENT_7 ) == ( ( ( com . cloud . utils . events . IDENT_5 . IDENT_6 ) ( o ) ) . IDENT_7 ) ) ) && ( this . IDENT_8 . equals ( ( ( com . cloud . utils . events . IDENT_5 . IDENT_6 ) ( o ) ) . IDENT_8 ) ) ; } return false ; }
org . junit . Assert . assertTrue ( ( ( subject . equals ( STRING_0 ) ) || ( subject . equals ( STRING_1 ) ) ) )
METHOD_0 ( ) { org . mockito . Mockito . when ( request . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; final java . util . HashMap < java . lang . String , java . lang . Object [ ] > params = new java . util . HashMap ( ) ; servlet . METHOD_2 ( request , params ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( javax . servlet . http . IDENT_0 , java . util . Map ) { if ( ( req . METHOD_1 ( ) ) == null ) { return ; } final java . lang . String [ ] IDENT_1 = req . METHOD_1 ( ) . split ( STRING_1 ) ; if ( IDENT_1 != null ) { for ( final java . lang . String param : IDENT_1 ) { final java . lang . String [ ] IDENT_2 = param . split ( STRING_2 , 2 ) ; if ( ( IDENT_2 . length ) == 2 ) { final java . lang . String name = METHOD_3 ( IDENT_2 [ 0 ] ) ; final java . lang . String value = METHOD_3 ( IDENT_2 [ 1 ] ) ; params . put ( name , new java . lang . String [ ] { value } ) ; } else { com . cloud . api . IDENT_3 . IDENT_4 . debug ( ( STRING_3 + param ) ) ; } } } }
org . junit . Assert . assertTrue ( params . containsKey ( "" ) )
METHOD_0 ( ) { org . mockito . Mockito . when ( request . METHOD_1 ( ) ) . thenReturn ( ( ( ( java . net . IDENT_0 . encode ( "" , STRING_0 ) ) + STRING_1 ) + ( java . net . IDENT_0 . encode ( STRING_2 , STRING_0 ) ) ) ) ; final java . util . HashMap < java . lang . String , java . lang . Object [ ] > params = new java . util . HashMap ( ) ; servlet . METHOD_2 ( request , params ) ; "<AssertPlaceHolder>" ; } get ( byte ) { for ( final com . cloud . common . transport . IDENT_1 . IDENT_2 version : com . cloud . common . transport . IDENT_1 . IDENT_2 . values ( ) ) { if ( IDENT_3 == ( version . METHOD_3 ( ) ) ) { return version ; } } throw new com . cloud . IDENT_4 . exceptions . METHOD_4 ( ( STRING_3 + IDENT_3 ) , com . cloud . IDENT_4 . exceptions . METHOD_4 . IDENT_5 ) ; }
org . junit . Assert . assertEquals ( STRING_2 , params . get ( "" ) [ 0 ] )
METHOD_0 ( ) { org . mockito . Mockito . when ( request . METHOD_1 ( org . mockito . Mockito . eq ( STRING_0 ) ) ) . thenReturn ( STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( javax . servlet . http . IDENT_0 ) { for ( final java . lang . String header : com . cloud . api . IDENT_1 . IDENT_2 ) { final java . lang . String IDENT_3 = com . cloud . api . IDENT_1 . METHOD_3 ( request . METHOD_1 ( header ) ) ; if ( IDENT_3 != null ) { return IDENT_3 ; } } return request . METHOD_4 ( ) ; }
org . junit . Assert . assertEquals ( STRING_1 , com . cloud . api . IDENT_1 . METHOD_2 ( request ) )
METHOD_0 ( ) { try { org . apache . flink . api . common . IDENT_0 . util . IDENT_1 ctx = new org . apache . flink . api . common . IDENT_0 . util . METHOD_1 ( IDENT_2 , getClass ( ) . METHOD_2 ( ) , new org . apache . flink . api . common . METHOD_3 ( ) , new java . util . HashMap ( ) , new java . util . HashMap ( ) , new org . apache . flink . metrics . IDENT_3 . METHOD_4 ( ) ) ; ctx . METHOD_5 ( "name" , java . util . Arrays . asList ( 1 , 2 , 3 , 4 ) ) ; int IDENT_4 = ctx . METHOD_6 ( "name" , new org . apache . flink . api . common . IDENT_0 . util . IDENT_5 . METHOD_7 ( ) ) ; "<AssertPlaceHolder>" ; try { ctx . METHOD_8 ( "name" ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( java . lang . IllegalStateException e ) { } } catch ( java . lang . Exception e ) { e . printStackTrace ( ) ; org . junit . Assert . fail ( e . getMessage ( ) ) ; } } METHOD_6 ( java . lang . String , org . apache . flink . api . common . IDENT_0 . IDENT_6 ) { org . apache . flink . util . IDENT_7 . METHOD_9 ( name , STRING_1 ) ; org . apache . flink . util . IDENT_7 . METHOD_9 ( IDENT_8 , STRING_2 ) ; @ org . apache . flink . runtime . IDENT_9 . util . METHOD_10 ( STRING_3 ) org . apache . flink . runtime . IDENT_10 . IDENT_11 < T , IDENT_12 > IDENT_13 = ( ( org . apache . flink . runtime . IDENT_10 . IDENT_11 < T , IDENT_12 > ) ( this . IDENT_14 . get ( name ) ) ) ; if ( IDENT_13 != null ) { return IDENT_13 . METHOD_11 ( IDENT_8 ) ; } else { throw new java . lang . IllegalArgumentException ( ( ( STRING_4 + name ) + STRING_5 ) ) ; } }
org . junit . Assert . assertEquals ( 10 , IDENT_4 )
METHOD_0 ( ) { org . mockito . Mockito . when ( request . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( javax . servlet . http . IDENT_0 ) { for ( final java . lang . String header : com . cloud . api . IDENT_1 . IDENT_2 ) { final java . lang . String IDENT_3 = com . cloud . api . IDENT_1 . METHOD_3 ( request . METHOD_4 ( header ) ) ; if ( IDENT_3 != null ) { return IDENT_3 ; } } return request . METHOD_1 ( ) ; }
org . junit . Assert . assertEquals ( STRING_0 , com . cloud . api . IDENT_1 . METHOD_2 ( request ) )
METHOD_0 ( ) { final com . cloud . IDENT_0 . utils . IDENT_1 < java . lang . Boolean , com . cloud . IDENT_0 . utils . IDENT_1 < java . lang . String , java . lang . String > > IDENT_2 = IDENT_3 . METHOD_1 ( STRING_0 , STRING_1 , STRING_2 , STRING_3 , IDENT_4 , true , false , null , null , null , null , network ) ; "<AssertPlaceHolder>" ; } first ( ) { return t ; }
org . junit . Assert . assertTrue ( ( ! ( IDENT_2 . first ( ) ) ) )
METHOD_0 ( ) { org . mockito . Mockito . when ( IDENT_0 . METHOD_1 ( org . mockito . Mockito . METHOD_2 ( ) ) ) . thenReturn ( IDENT_1 ) ; final com . cloud . IDENT_2 . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( com . cloud . IDENT_2 . IDENT_5 . class ) ; final java . util . List < com . cloud . IDENT_2 . IDENT_3 > IDENT_6 = new java . util . ArrayList ( ) ; IDENT_6 . add ( IDENT_4 ) ; IDENT_7 . METHOD_3 ( IDENT_6 ) ; org . mockito . Mockito . when ( IDENT_4 . METHOD_4 ( IDENT_1 ) ) . thenReturn ( IDENT_8 . IDENT_9 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( com . cloud . IDENT_10 . manager . IDENT_11 ) { final java . lang . Long IDENT_12 = IDENT_10 . getId ( ) ; final com . cloud . host . IDENT_13 host = this . IDENT_0 . METHOD_1 ( IDENT_12 ) ; if ( ( ( host != null ) && ( ( host . getType ( ) ) != null ) ) && ( ! ( host . getType ( ) . METHOD_6 ( ) ) ) ) { if ( com . cloud . IDENT_10 . manager . IDENT_14 . IDENT_15 . METHOD_7 ( ) ) { com . cloud . IDENT_10 . manager . IDENT_14 . IDENT_15 . debug ( ( ( STRING_0 + IDENT_12 ) + STRING_1 ) ) ; } final com . cloud . IDENT_16 . IDENT_17 . IDENT_18 . IDENT_19 IDENT_18 = METHOD_8 ( IDENT_12 , new com . cloud . IDENT_16 . IDENT_17 . command . METHOD_9 ( ) ) ; if ( ( IDENT_18 != null ) && ( IDENT_18 . METHOD_10 ( ) ) ) { final com . cloud . IDENT_16 . dc . IDENT_8 status = com . cloud . IDENT_16 . dc . IDENT_8 . IDENT_20 ; if ( com . cloud . IDENT_10 . manager . IDENT_14 . IDENT_15 . METHOD_7 ( ) ) { com . cloud . IDENT_10 . manager . IDENT_14 . IDENT_15 . debug ( ( ( ( STRING_2 + IDENT_12 ) + STRING_3 ) + status ) ) ; } return status ; } return this . IDENT_21 . METHOD_5 ( IDENT_12 ) ; } return com . cloud . IDENT_16 . dc . IDENT_8 . IDENT_22 ; }
org . junit . Assert . assertTrue ( ( ( IDENT_7 . METHOD_5 ( 1L ) ) == ( com . cloud . IDENT_16 . dc . IDENT_8 . IDENT_9 ) ) )
METHOD_0 ( ) { org . mockito . Mockito . when ( IDENT_0 . METHOD_1 ( org . mockito . Mockito . METHOD_2 ( ) ) ) . thenReturn ( IDENT_1 ) ; final com . cloud . IDENT_2 . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( com . cloud . IDENT_2 . IDENT_5 . class ) ; final java . util . List < com . cloud . IDENT_2 . IDENT_3 > IDENT_6 = new java . util . ArrayList ( ) ; IDENT_6 . add ( IDENT_4 ) ; IDENT_7 . METHOD_3 ( IDENT_6 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( com . cloud . IDENT_8 . manager . IDENT_9 ) { final java . lang . Long IDENT_10 = IDENT_8 . getId ( ) ; final com . cloud . host . IDENT_11 host = this . IDENT_0 . METHOD_1 ( IDENT_10 ) ; if ( ( ( host != null ) && ( ( host . getType ( ) ) != null ) ) && ( ! ( host . getType ( ) . METHOD_5 ( ) ) ) ) { if ( com . cloud . IDENT_8 . manager . IDENT_12 . IDENT_13 . METHOD_6 ( ) ) { com . cloud . IDENT_8 . manager . IDENT_12 . IDENT_13 . debug ( ( ( STRING_0 + IDENT_10 ) + STRING_1 ) ) ; } final com . cloud . IDENT_14 . IDENT_15 . IDENT_16 . IDENT_17 IDENT_16 = METHOD_7 ( IDENT_10 , new com . cloud . IDENT_14 . IDENT_15 . command . METHOD_8 ( ) ) ; if ( ( IDENT_16 != null ) && ( IDENT_16 . METHOD_9 ( ) ) ) { final com . cloud . IDENT_14 . dc . IDENT_18 status = com . cloud . IDENT_14 . dc . IDENT_18 . IDENT_19 ; if ( com . cloud . IDENT_8 . manager . IDENT_12 . IDENT_13 . METHOD_6 ( ) ) { com . cloud . IDENT_8 . manager . IDENT_12 . IDENT_13 . debug ( ( ( ( STRING_2 + IDENT_10 ) + STRING_3 ) + status ) ) ; } return status ; } return this . IDENT_20 . METHOD_4 ( IDENT_10 ) ; } return com . cloud . IDENT_14 . dc . IDENT_18 . IDENT_21 ; }
org . junit . Assert . assertNull ( IDENT_7 . METHOD_4 ( 1L ) )
METHOD_0 ( ) { final java . lang . String IDENT_0 = IDENT_1 . METHOD_1 ( ) ; final java . lang . String IDENT_2 = STRING_0 ; "<AssertPlaceHolder>" ; } METHOD_1 ( ) { return STRING_1 ; }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_0 )
METHOD_0 ( ) { final java . lang . String IDENT_0 = IDENT_1 . METHOD_1 ( ) ; final java . lang . String IDENT_2 = STRING_0 ; "<AssertPlaceHolder>" ; } METHOD_1 ( ) { return STRING_0 ; }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_0 )
METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . lang . String value = com . cloud . ldap . IDENT_1 . METHOD_1 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { if ( IDENT_0 . contains ( com . cloud . ldap . IDENT_1 . IDENT_2 ) ) { final java . lang . String [ ] IDENT_3 = IDENT_0 . split ( com . cloud . ldap . IDENT_1 . IDENT_2 ) ; return com . cloud . ldap . IDENT_1 . METHOD_2 ( IDENT_3 [ 0 ] ) ; } else { return com . cloud . ldap . IDENT_1 . METHOD_2 ( IDENT_0 ) ; } }
org . junit . Assert . assertThat ( value , org . hamcrest . Matchers . equalTo ( "value" ) )
METHOD_0 ( ) { final com . cloud . IDENT_0 . network . IDENT_1 network = mock ( com . cloud . IDENT_0 . network . IDENT_1 . class ) ; when ( network . METHOD_1 ( ) ) . thenReturn ( IDENT_2 . IDENT_3 ) ; when ( network . getId ( ) ) . thenReturn ( com . cloud . network . element . IDENT_4 . IDENT_5 ) ; when ( network . METHOD_2 ( ) ) . thenReturn ( com . cloud . network . element . IDENT_4 . IDENT_5 ) ; final com . cloud . IDENT_6 . IDENT_7 IDENT_6 = mock ( com . cloud . IDENT_6 . IDENT_7 . class ) ; when ( IDENT_6 . getId ( ) ) . thenReturn ( com . cloud . network . element . IDENT_4 . IDENT_5 ) ; when ( IDENT_6 . METHOD_3 ( ) ) . thenReturn ( IDENT_8 . IDENT_9 ) ; when ( IDENT_6 . METHOD_4 ( ) ) . thenReturn ( IDENT_10 . IDENT_11 ) ; final java . util . List < com . cloud . network . IDENT_12 > IDENT_13 = new java . util . ArrayList ( ) ; final com . cloud . network . IDENT_12 IDENT_14 = mock ( com . cloud . network . IDENT_12 . class ) ; final com . cloud . network . IDENT_12 IDENT_15 = mock ( com . cloud . network . IDENT_12 . class ) ; final com . cloud . IDENT_0 . network . IDENT_16 IDENT_17 = new com . cloud . IDENT_0 . network . METHOD_5 ( com . cloud . utils . net . IDENT_18 . METHOD_6 ( STRING_0 ) ) ; final com . cloud . IDENT_0 . network . METHOD_5 IDENT_19 = new com . cloud . IDENT_0 . network . METHOD_5 ( com . cloud . utils . net . IDENT_18 . METHOD_6 ( STRING_1 ) ) ; when ( IDENT_15 . METHOD_7 ( ) ) . thenReturn ( IDENT_20 . IDENT_21 . IDENT_22 ) ; when ( IDENT_15 . METHOD_8 ( ) ) . thenReturn ( IDENT_19 ) ; when ( IDENT_15 . METHOD_9 ( ) ) . thenReturn ( STRING_2 ) ; when ( IDENT_14 . METHOD_7 ( ) ) . thenReturn ( IDENT_20 . IDENT_21 . IDENT_23 ) ; when ( IDENT_14 . METHOD_8 ( ) ) . thenReturn ( IDENT_17 ) ; when ( IDENT_14 . METHOD_9 ( ) ) . thenReturn ( STRING_2 ) ; IDENT_13 . add ( IDENT_15 ) ; IDENT_13 . add ( IDENT_14 ) ; final java . util . Set < com . cloud . IDENT_0 . network . IDENT_1 . IDENT_24 > services = new java . util . HashSet ( ) ; services . add ( IDENT_24 . IDENT_25 ) ; services . add ( IDENT_24 . IDENT_26 ) ; services . add ( IDENT_24 . IDENT_27 ) ; final java . util . List < com . cloud . network . IDENT_28 > IDENT_29 = new java . util . ArrayList ( ) ; final com . cloud . network . IDENT_28 IDENT_30 = mock ( com . cloud . network . IDENT_28 . class ) ; final com . cloud . network . IDENT_31 IDENT_32 = mock ( com . cloud . network . IDENT_31 . class ) ; when ( IDENT_33 . METHOD_10 ( com . cloud . network . element . IDENT_4 . IDENT_5 ) ) . thenReturn ( IDENT_32 ) ; when ( IDENT_32 . METHOD_11 ( ) ) . thenReturn ( STRING_3 ) ; when ( IDENT_30 . METHOD_12 ( ) ) . thenReturn ( com . cloud . network . element . IDENT_4 . IDENT_5 ) ; final com . cloud . host . IDENT_34 IDENT_35 = mock ( com . cloud . host . IDENT_34 . class ) ; when ( IDENT_35 . getId ( ) ) . thenReturn ( com . cloud . network . element . IDENT_4 . IDENT_5 ) ; when ( IDENT_35 . METHOD_13 ( STRING_4 ) ) . thenReturn ( STRING_3 ) ; when ( IDENT_36 . METHOD_14 ( com . cloud . network . element . IDENT_4 . IDENT_5 ) ) . thenReturn ( IDENT_35 ) ; IDENT_29 . add ( IDENT_30 ) ; when ( IDENT_37 . METHOD_15 ( com . cloud . network . element . IDENT_4 . IDENT_5 ) ) . thenReturn ( IDENT_29 ) ; final com . cloud . IDENT_0 . IDENT_38 . IDENT_39 . IDENT_40 IDENT_39 = mock ( com . cloud . IDENT_0 . IDENT_38 . IDENT_39 . IDENT_40 . class ) ; when ( IDENT_39 . METHOD_16 ( ) ) . thenReturn ( true ) ; when ( IDENT_41 . METHOD_17 ( eq ( com . cloud . network . element . IDENT_4 . IDENT_5 ) , any ( com . cloud . IDENT_0 . IDENT_38 . command . IDENT_42 . class ) ) ) . thenReturn ( IDENT_39 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_41 , METHOD_18 ( 1 ) ) . METHOD_17 ( eq ( com . cloud . network . element . IDENT_4 . IDENT_5 ) , METHOD_19 ( new org . mockito . IDENT_43 < com . cloud . IDENT_0 . IDENT_38 . command . IDENT_42 > ( ) { @ com . cloud . network . element . Override public boolean matches ( final java . lang . Object IDENT_44 ) { final com . cloud . IDENT_0 . IDENT_38 . command . IDENT_42 command = ( ( com . cloud . IDENT_0 . IDENT_38 . command . IDENT_42 ) ( IDENT_44 ) ) ; if ( ( command . METHOD_20 ( ) . size ( ) ) == 1 ) { return true ; } return false ; } } ) ) ; } METHOD_21 ( com . cloud . IDENT_0 . network . IDENT_1 , java . util . List , java . util . Set ) { boolean IDENT_45 = true ; for ( final com . cloud . IDENT_0 . network . IDENT_1 . IDENT_24 service : services ) { if ( ! ( METHOD_22 ( network , service ) ) ) { METHOD_22 = false ; break ; } } boolean result = true ; if ( METHOD_22 ) { final java . util . List < com . cloud . IDENT_46 . IDENT_47 > IDENT_48 = IDENT_49 . METHOD_23 ( network . getId ( ) , IDENT_50 . IDENT_51 ) ; if ( ( IDENT_48 == null ) || ( IDENT_48 . isEmpty ( ) ) ) { com . cloud . network . element . IDENT_52 . IDENT_53 . debug ( ( ( ( getName ( ) ) + STRING_5 ) + ( network . getId ( ) ) ) ) ; return false ; } final com . cloud . db . model . IDENT_54 IDENT_55 = IDENT_56 . METHOD_14 ( network . METHOD_24 ( ) ) . METHOD_25 ( null ) ; final com . cloud . network . IDENT_57 . IDENT_58 IDENT_59 = IDENT_60 . METHOD_26 ( IDENT_55 ) ; for ( final com . cloud . IDENT_46 . IDENT_47 IDENT_61 : IDENT_48 ) { result = result && ( IDENT_59 . METHOD_27 ( network , IDENT_62 , IDENT_61 ) ) ; } } return result ; }
org . junit . Assert . assertTrue ( element . METHOD_21 ( network , IDENT_13 , services ) )
METHOD_0 ( ) { try { java . lang . String IDENT_0 = org . apache . flink . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; java . lang . String IDENT_3 = org . apache . flink . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; java . io . File IDENT_4 = IDENT_5 . METHOD_2 ( IDENT_0 , IDENT_3 ) ; java . io . File IDENT_6 = IDENT_4 . METHOD_3 ( ) ; org . apache . flink . IDENT_1 . IDENT_2 . METHOD_4 ( IDENT_6 . getAbsolutePath ( ) , STRING_0 ) ; org . apache . flink . IDENT_1 . IDENT_2 . METHOD_4 ( IDENT_4 . getAbsolutePath ( ) , STRING_1 ) ; org . apache . flink . IDENT_1 . IDENT_2 . METHOD_4 ( IDENT_4 . getAbsolutePath ( ) , STRING_2 ) ; this . format . METHOD_5 ( new org . apache . flink . core . fs . Path ( IDENT_6 . METHOD_6 ( ) . toString ( ) ) ) ; this . config . METHOD_7 ( STRING_3 , true ) ; format . METHOD_8 ( this . config ) ; org . apache . flink . core . fs . IDENT_7 [ ] IDENT_8 = format . METHOD_9 ( 1 ) ; "<AssertPlaceHolder>" ; } catch ( java . lang . Exception ex ) { ex . printStackTrace ( ) ; org . junit . Assert . fail ( ex . getMessage ( ) ) ; } } METHOD_9 ( int ) { return new org . apache . flink . core . io . IDENT_9 [ ] { new org . apache . flink . runtime . IDENT_10 . IDENT_11 . METHOD_10 ( 0 , 1 ) } ; }
org . junit . Assert . assertEquals ( 3 , IDENT_8 . length )
METHOD_0 ( ) { IDENT_0 . IDENT_1 = IDENT_1 ; final com . cloud . network . IDENT_2 . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( com . cloud . network . IDENT_2 . IDENT_3 . class ) ; final com . cloud . network . IDENT_2 . IDENT_5 IDENT_6 = org . mockito . Mockito . mock ( com . cloud . network . IDENT_2 . IDENT_5 . class ) ; IDENT_7 . METHOD_1 ( IDENT_4 ) ; IDENT_7 . METHOD_2 ( IDENT_6 ) ; IDENT_7 . init ( ) ; final com . cloud . network . IDENT_8 IDENT_9 = org . mockito . Mockito . mock ( com . cloud . network . IDENT_8 . class ) ; final java . util . List < com . cloud . IDENT_10 . network . IDENT_11 > IDENT_12 = new java . util . ArrayList ( ) ; when ( IDENT_9 . METHOD_3 ( ) ) . thenReturn ( null ) ; try { final java . lang . String [ ] results = IDENT_0 . METHOD_4 ( IDENT_9 , IDENT_12 ) ; "<AssertPlaceHolder>" ; } catch ( final com . cloud . IDENT_10 . exceptions . IDENT_13 e ) { org . junit . Assert . fail ( e . getMessage ( ) ) ; } verify ( IDENT_9 , times ( 1 ) ) . METHOD_3 ( ) ; } METHOD_4 ( com . cloud . network . IDENT_8 , java . util . List ) { if ( ( IDENT_14 . METHOD_5 ( ) ) == null ) { return null ; } final com . cloud . IDENT_10 . network . IDENT_15 network = this . IDENT_16 . METHOD_6 ( IDENT_14 . METHOD_5 ( ) ) ; if ( METHOD_7 ( network , IDENT_17 . IDENT_18 ) ) { final java . util . List < com . cloud . IDENT_19 . IDENT_20 > IDENT_21 = this . IDENT_22 . METHOD_8 ( network . getId ( ) , IDENT_23 . IDENT_24 ) ; if ( ( IDENT_21 == null ) || ( IDENT_21 . isEmpty ( ) ) ) { com . cloud . network . element . IDENT_25 . IDENT_26 . debug ( ( ( STRING_0 + STRING_1 ) + ( network . getId ( ) ) ) ) ; return null ; } final com . cloud . db . model . IDENT_27 IDENT_28 = this . IDENT_29 . METHOD_6 ( network . METHOD_9 ( ) ) . METHOD_10 ( null ) ; final com . cloud . network . IDENT_2 . IDENT_30 IDENT_31 = this . IDENT_7 . METHOD_11 ( IDENT_28 ) ; return IDENT_31 . METHOD_4 ( network , IDENT_12 , IDENT_21 ) ; } else { com . cloud . network . element . IDENT_25 . IDENT_26 . debug ( ( ( STRING_2 + ( getName ( ) ) ) + STRING_3 ) ) ; return null ; } }
org . junit . Assert . assertNull ( results )
METHOD_0 ( ) { IDENT_0 . IDENT_1 = IDENT_1 ; final com . cloud . network . IDENT_2 . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( com . cloud . network . IDENT_2 . IDENT_3 . class ) ; final com . cloud . network . IDENT_2 . IDENT_5 IDENT_6 = org . mockito . Mockito . mock ( com . cloud . network . IDENT_2 . IDENT_5 . class ) ; IDENT_7 . METHOD_1 ( IDENT_4 ) ; IDENT_7 . METHOD_2 ( IDENT_6 ) ; IDENT_7 . init ( ) ; final com . cloud . network . IDENT_8 IDENT_9 = org . mockito . Mockito . mock ( com . cloud . network . IDENT_8 . class ) ; final java . util . List < com . cloud . IDENT_10 . network . IDENT_11 > IDENT_12 = new java . util . ArrayList ( ) ; final java . lang . Long IDENT_13 = new java . lang . Long ( 1L ) ; when ( IDENT_9 . METHOD_3 ( ) ) . thenReturn ( IDENT_13 ) ; when ( IDENT_1 . METHOD_4 ( IDENT_13 ) ) . thenReturn ( null ) ; try { final java . lang . String [ ] results = IDENT_0 . METHOD_5 ( IDENT_9 , IDENT_12 ) ; "<AssertPlaceHolder>" ; } catch ( final com . cloud . IDENT_10 . exceptions . IDENT_14 e ) { org . junit . Assert . fail ( e . getMessage ( ) ) ; } verify ( IDENT_9 , times ( 1 ) ) . METHOD_3 ( ) ; } METHOD_5 ( com . cloud . network . IDENT_8 , java . util . List ) { if ( ( IDENT_15 . METHOD_6 ( ) ) == null ) { return null ; } final com . cloud . IDENT_10 . network . IDENT_16 network = this . IDENT_17 . METHOD_7 ( IDENT_15 . METHOD_6 ( ) ) ; if ( METHOD_8 ( network , IDENT_18 . IDENT_19 ) ) { final java . util . List < com . cloud . IDENT_20 . IDENT_21 > IDENT_22 = this . IDENT_23 . METHOD_9 ( network . getId ( ) , IDENT_24 . IDENT_25 ) ; if ( ( IDENT_22 == null ) || ( IDENT_22 . isEmpty ( ) ) ) { com . cloud . network . element . IDENT_26 . IDENT_27 . debug ( ( ( STRING_0 + STRING_1 ) + ( network . getId ( ) ) ) ) ; return null ; } final com . cloud . db . model . IDENT_28 IDENT_29 = this . IDENT_30 . METHOD_7 ( network . METHOD_10 ( ) ) . METHOD_11 ( null ) ; final com . cloud . network . IDENT_2 . IDENT_31 IDENT_32 = this . IDENT_7 . METHOD_12 ( IDENT_29 ) ; return IDENT_32 . METHOD_5 ( network , IDENT_12 , IDENT_22 ) ; } else { com . cloud . network . element . IDENT_26 . IDENT_27 . debug ( ( ( STRING_2 + ( getName ( ) ) ) + STRING_3 ) ) ; return null ; } }
org . junit . Assert . assertNull ( results )
METHOD_0 ( ) { final com . cloud . network . dao . IDENT_0 IDENT_1 = mock ( com . cloud . network . dao . IDENT_0 . class ) ; when ( IDENT_2 . METHOD_1 ( ( ( java . lang . Long ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_1 . METHOD_2 ( ) ) . thenReturn ( java . util . Arrays . asList ( new java . lang . String [ ] { STRING_0 , STRING_1 } ) ) ; when ( IDENT_1 . getId ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; mock ( com . cloud . network . IDENT_6 . class ) ; when ( IDENT_7 . METHOD_3 ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ) . thenReturn ( java . util . Collections . < com . cloud . network . IDENT_6 > emptyList ( ) ) ; final com . cloud . IDENT_8 . IDENT_9 IDENT_8 = mock ( com . cloud . IDENT_8 . IDENT_9 . class ) ; when ( IDENT_8 . getId ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; when ( IDENT_8 . METHOD_4 ( ) ) . thenReturn ( IDENT_10 . IDENT_11 ) ; when ( IDENT_8 . METHOD_5 ( ) ) . thenReturn ( IDENT_12 . IDENT_13 ) ; final com . cloud . IDENT_14 . IDENT_15 plan = mock ( com . cloud . IDENT_14 . IDENT_15 . class ) ; final com . cloud . IDENT_16 . network . IDENT_17 network = mock ( com . cloud . IDENT_16 . network . IDENT_17 . class ) ; final com . cloud . IDENT_16 . user . IDENT_18 IDENT_19 = mock ( com . cloud . IDENT_16 . user . IDENT_18 . class ) ; final com . cloud . IDENT_16 . network . IDENT_17 IDENT_20 = IDENT_3 . METHOD_6 ( IDENT_8 , plan , network , IDENT_19 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( com . cloud . IDENT_8 . IDENT_9 , com . cloud . IDENT_14 . IDENT_15 , com . cloud . IDENT_16 . network . IDENT_17 , com . cloud . IDENT_16 . user . IDENT_18 ) { final com . cloud . network . dao . IDENT_0 IDENT_1 = IDENT_21 . METHOD_1 ( plan . METHOD_7 ( ) ) ; final com . cloud . IDENT_16 . dc . IDENT_22 dc = IDENT_23 . METHOD_1 ( com . cloud . IDENT_16 . dc . IDENT_22 . class , plan . METHOD_8 ( ) ) ; if ( ! ( METHOD_9 ( IDENT_8 , dc , IDENT_1 ) ) ) { return null ; } final com . cloud . model . IDENT_24 . IDENT_25 IDENT_26 ; if ( ( IDENT_27 != null ) && ( ( IDENT_27 . METHOD_10 ( ) ) != null ) ) { IDENT_26 = IDENT_27 . METHOD_10 ( ) ; } else { IDENT_26 = com . cloud . model . IDENT_24 . IDENT_25 . IDENT_28 ; } final com . cloud . network . dao . IDENT_29 network = new com . cloud . network . dao . METHOD_11 ( IDENT_8 . METHOD_4 ( ) , com . cloud . model . IDENT_24 . IDENT_30 . IDENT_31 , IDENT_26 , IDENT_8 . getId ( ) , com . cloud . IDENT_16 . network . IDENT_17 . IDENT_32 . IDENT_33 , plan . METHOD_8 ( ) , plan . METHOD_7 ( ) , IDENT_8 . METHOD_12 ( ) ) ; if ( IDENT_27 != null ) { if ( ( ! ( IDENT_12 . IDENT_34 . equals ( IDENT_8 . METHOD_5 ( ) ) ) ) && ( ( ( ( IDENT_27 . METHOD_13 ( ) ) == null ) && ( ( IDENT_27 . METHOD_14 ( ) ) != null ) ) || ( ( ( IDENT_27 . METHOD_13 ( ) ) != null ) && ( ( IDENT_27 . METHOD_14 ( ) ) == null ) ) ) ) { throw new com . cloud . IDENT_16 . exceptions . METHOD_15 ( STRING_2 ) ; } if ( ( IDENT_27 . METHOD_13 ( ) ) != null ) { network . METHOD_16 ( IDENT_27 . METHOD_13 ( ) ) ; network . METHOD_17 ( IDENT_27 . METHOD_14 ( ) ) ; } else { throw new com . cloud . IDENT_16 . exceptions . METHOD_15 ( ( ( STRING_3 + network ) + STRING_4 ) ) ; } if ( IDENT_8 . METHOD_18 ( ) ) { network . METHOD_19 ( IDENT_27 . METHOD_20 ( ) ) ; network . METHOD_21 ( IDENT_32 . IDENT_35 ) ; } } else { throw new com . cloud . IDENT_16 . exceptions . METHOD_22 ( ( ( STRING_3 + network ) + STRING_4 ) ) ; } return network ; }
org . junit . Assert . assertTrue ( ( IDENT_20 == null ) )
METHOD_0 ( ) { final com . cloud . network . dao . IDENT_0 IDENT_1 = mock ( com . cloud . network . dao . IDENT_0 . class ) ; when ( IDENT_2 . METHOD_1 ( ( ( java . lang . Long ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_1 . METHOD_2 ( ) ) . thenReturn ( java . util . Arrays . asList ( new java . lang . String [ ] { STRING_0 } ) ) ; when ( IDENT_1 . getId ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; mock ( com . cloud . network . IDENT_6 . class ) ; when ( IDENT_7 . METHOD_3 ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ) . thenReturn ( java . util . Collections . < com . cloud . network . IDENT_6 > emptyList ( ) ) ; final com . cloud . IDENT_8 . IDENT_9 IDENT_8 = mock ( com . cloud . IDENT_8 . IDENT_9 . class ) ; when ( IDENT_8 . getId ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; when ( IDENT_8 . METHOD_4 ( ) ) . thenReturn ( IDENT_10 . IDENT_11 ) ; when ( IDENT_8 . METHOD_5 ( ) ) . thenReturn ( IDENT_12 . IDENT_13 ) ; final com . cloud . IDENT_14 . IDENT_15 plan = mock ( com . cloud . IDENT_14 . IDENT_15 . class ) ; final com . cloud . IDENT_16 . network . IDENT_17 network = mock ( com . cloud . IDENT_16 . network . IDENT_17 . class ) ; final com . cloud . IDENT_16 . user . IDENT_18 IDENT_19 = mock ( com . cloud . IDENT_16 . user . IDENT_18 . class ) ; final com . cloud . IDENT_16 . network . IDENT_17 IDENT_20 = IDENT_3 . METHOD_6 ( IDENT_8 , plan , network , IDENT_19 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( com . cloud . IDENT_8 . IDENT_9 , com . cloud . IDENT_14 . IDENT_15 , com . cloud . IDENT_16 . network . IDENT_17 , com . cloud . IDENT_16 . user . IDENT_18 ) { final com . cloud . network . dao . IDENT_0 IDENT_1 = IDENT_21 . METHOD_1 ( plan . METHOD_7 ( ) ) ; final com . cloud . IDENT_16 . dc . IDENT_22 dc = IDENT_23 . METHOD_1 ( com . cloud . IDENT_16 . dc . IDENT_22 . class , plan . METHOD_8 ( ) ) ; if ( ! ( METHOD_9 ( IDENT_8 , dc , IDENT_1 ) ) ) { return null ; } final com . cloud . model . IDENT_24 . IDENT_25 IDENT_26 ; if ( ( IDENT_27 != null ) && ( ( IDENT_27 . METHOD_10 ( ) ) != null ) ) { IDENT_26 = IDENT_27 . METHOD_10 ( ) ; } else { IDENT_26 = com . cloud . model . IDENT_24 . IDENT_25 . IDENT_28 ; } final com . cloud . network . dao . IDENT_29 network = new com . cloud . network . dao . METHOD_11 ( IDENT_8 . METHOD_4 ( ) , com . cloud . model . IDENT_24 . IDENT_30 . IDENT_31 , IDENT_26 , IDENT_8 . getId ( ) , com . cloud . IDENT_16 . network . IDENT_17 . IDENT_32 . IDENT_33 , plan . METHOD_8 ( ) , plan . METHOD_7 ( ) , IDENT_8 . METHOD_12 ( ) ) ; if ( IDENT_27 != null ) { if ( ( ! ( IDENT_12 . IDENT_34 . equals ( IDENT_8 . METHOD_5 ( ) ) ) ) && ( ( ( ( IDENT_27 . METHOD_13 ( ) ) == null ) && ( ( IDENT_27 . METHOD_14 ( ) ) != null ) ) || ( ( ( IDENT_27 . METHOD_13 ( ) ) != null ) && ( ( IDENT_27 . METHOD_14 ( ) ) == null ) ) ) ) { throw new com . cloud . IDENT_16 . exceptions . METHOD_15 ( STRING_1 ) ; } if ( ( IDENT_27 . METHOD_13 ( ) ) != null ) { network . METHOD_16 ( IDENT_27 . METHOD_13 ( ) ) ; network . METHOD_17 ( IDENT_27 . METHOD_14 ( ) ) ; } else { throw new com . cloud . IDENT_16 . exceptions . METHOD_15 ( ( ( STRING_2 + network ) + STRING_3 ) ) ; } if ( IDENT_8 . METHOD_18 ( ) ) { network . METHOD_19 ( IDENT_27 . METHOD_20 ( ) ) ; network . METHOD_21 ( IDENT_32 . IDENT_35 ) ; } } else { throw new com . cloud . IDENT_16 . exceptions . METHOD_22 ( ( ( STRING_2 + network ) + STRING_3 ) ) ; } return network ; }
org . junit . Assert . assertTrue ( ( IDENT_20 == null ) )
METHOD_0 ( ) { final com . cloud . network . dao . IDENT_0 IDENT_1 = mock ( com . cloud . network . dao . IDENT_0 . class ) ; when ( IDENT_2 . METHOD_1 ( ( ( java . lang . Long ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_1 . METHOD_2 ( ) ) . thenReturn ( java . util . Arrays . asList ( new java . lang . String [ ] { STRING_0 , STRING_1 } ) ) ; when ( IDENT_1 . getId ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; final com . cloud . network . IDENT_6 device = mock ( com . cloud . network . IDENT_6 . class ) ; when ( IDENT_7 . METHOD_3 ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ) . thenReturn ( java . util . Arrays . asList ( new com . cloud . network . IDENT_6 [ ] { device } ) ) ; when ( device . getId ( ) ) . thenReturn ( 1L ) ; final com . cloud . IDENT_8 . IDENT_9 IDENT_8 = mock ( com . cloud . IDENT_8 . IDENT_9 . class ) ; when ( IDENT_8 . getId ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; when ( IDENT_8 . METHOD_4 ( ) ) . thenReturn ( IDENT_10 . IDENT_11 ) ; when ( IDENT_8 . METHOD_5 ( ) ) . thenReturn ( IDENT_12 . IDENT_13 ) ; when ( IDENT_14 . METHOD_6 ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 , IDENT_15 . IDENT_16 ) ) . thenReturn ( false ) ; mock ( com . cloud . IDENT_17 . IDENT_18 . class ) ; final com . cloud . network . dao . IDENT_19 network = mock ( com . cloud . network . dao . IDENT_19 . class ) ; when ( network . getName ( ) ) . thenReturn ( STRING_2 ) ; when ( network . METHOD_7 ( ) ) . thenReturn ( IDENT_20 . IDENT_21 . IDENT_22 ) ; when ( network . METHOD_8 ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; final com . cloud . IDENT_17 . IDENT_23 IDENT_24 = mock ( com . cloud . IDENT_17 . IDENT_23 . class ) ; final com . cloud . db . model . IDENT_25 IDENT_26 = mock ( com . cloud . db . model . IDENT_25 . class ) ; when ( IDENT_24 . METHOD_9 ( ) ) . thenReturn ( IDENT_26 ) ; final com . cloud . host . IDENT_27 IDENT_28 = mock ( com . cloud . host . IDENT_27 . class ) ; when ( IDENT_29 . METHOD_1 ( METHOD_10 ( ) ) ) . thenReturn ( IDENT_28 ) ; when ( IDENT_28 . METHOD_11 ( STRING_3 ) ) . thenReturn ( STRING_4 ) ; when ( IDENT_28 . METHOD_11 ( STRING_5 ) ) . thenReturn ( STRING_6 ) ; when ( IDENT_28 . getId ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; when ( IDENT_30 . METHOD_12 ( METHOD_10 ( ) , ( ( java . lang . String ) ( any ( ) ) ) , ( ( com . cloud . model . IDENT_31 . IDENT_10 ) ( any ( ) ) ) ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; final com . cloud . IDENT_32 . domain . IDENT_33 dom = mock ( com . cloud . IDENT_32 . domain . IDENT_33 . class ) ; when ( dom . getName ( ) ) . thenReturn ( STRING_7 ) ; final com . cloud . IDENT_32 . user . IDENT_34 IDENT_35 = mock ( com . cloud . IDENT_32 . user . IDENT_34 . class ) ; when ( IDENT_35 . METHOD_13 ( ) ) . thenReturn ( STRING_8 ) ; final com . cloud . IDENT_36 . IDENT_37 res = mock ( com . cloud . IDENT_36 . IDENT_37 . class ) ; when ( res . METHOD_14 ( ) ) . thenReturn ( dom ) ; when ( res . METHOD_15 ( ) ) . thenReturn ( IDENT_35 ) ; final com . cloud . IDENT_32 . IDENT_38 . IDENT_39 . IDENT_40 IDENT_39 = mock ( com . cloud . IDENT_32 . IDENT_38 . IDENT_39 . IDENT_40 . class ) ; when ( IDENT_39 . METHOD_16 ( ) ) . thenReturn ( true ) ; when ( IDENT_39 . METHOD_17 ( ) ) . thenReturn ( STRING_9 ) ; when ( IDENT_41 . METHOD_18 ( eq ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) , any ( ) ) ) . thenReturn ( IDENT_39 ) ; final com . cloud . IDENT_32 . network . IDENT_20 IDENT_42 = IDENT_3 . METHOD_19 ( network , IDENT_8 , IDENT_24 , res ) ; "<AssertPlaceHolder>" ; verify ( IDENT_41 , times ( 1 ) ) . METHOD_18 ( eq ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) , any ( ) ) ; } METHOD_19 ( com . cloud . IDENT_32 . network . IDENT_20 , com . cloud . IDENT_8 . IDENT_9 , com . cloud . IDENT_17 . IDENT_23 , com . cloud . IDENT_36 . IDENT_37 ) { assert ( network . METHOD_7 ( ) ) == ( com . cloud . IDENT_32 . network . IDENT_20 . IDENT_21 . IDENT_22 ) : STRING_10 + network ; final long IDENT_43 = IDENT_24 . METHOD_9 ( ) . getId ( ) ; java . lang . Long IDENT_44 = network . METHOD_8 ( ) ; if ( IDENT_44 == null ) { IDENT_44 = IDENT_45 . METHOD_12 ( IDENT_43 , IDENT_8 . METHOD_20 ( ) , IDENT_8 . METHOD_4 ( ) ) ; } final com . cloud . network . dao . IDENT_19 IDENT_46 = new com . cloud . network . dao . METHOD_21 ( network . METHOD_4 ( ) , network . METHOD_22 ( ) , network . METHOD_23 ( ) , network . METHOD_24 ( ) , com . cloud . IDENT_32 . network . IDENT_20 . IDENT_21 . IDENT_47 , network . METHOD_25 ( ) , IDENT_44 , IDENT_8 . METHOD_26 ( ) ) ; METHOD_27 ( network , IDENT_46 , IDENT_43 , IDENT_44 , context . METHOD_28 ( ) ) ; if ( ( network . METHOD_29 ( ) ) != null ) { IDENT_46 . METHOD_30 ( network . METHOD_29 ( ) ) ; } if ( ( network . METHOD_31 ( ) ) != null ) { IDENT_46 . METHOD_32 ( network . METHOD_31 ( ) ) ; } return IDENT_46 ; }
org . junit . Assert . assertTrue ( ( IDENT_42 != null ) )
METHOD_0 ( ) { final com . cloud . network . dao . IDENT_0 IDENT_1 = mock ( com . cloud . network . dao . IDENT_0 . class ) ; when ( IDENT_2 . METHOD_1 ( ( ( java . lang . Long ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_1 . METHOD_2 ( ) ) . thenReturn ( java . util . Arrays . asList ( new java . lang . String [ ] { STRING_0 } ) ) ; when ( IDENT_1 . getId ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; final com . cloud . network . IDENT_6 device = mock ( com . cloud . network . IDENT_6 . class ) ; when ( IDENT_7 . METHOD_3 ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ) . thenReturn ( java . util . Arrays . asList ( new com . cloud . network . IDENT_6 [ ] { device } ) ) ; when ( device . getId ( ) ) . thenReturn ( 1L ) ; final com . cloud . IDENT_8 . IDENT_9 IDENT_8 = mock ( com . cloud . IDENT_8 . IDENT_9 . class ) ; when ( IDENT_8 . getId ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; when ( IDENT_8 . METHOD_4 ( ) ) . thenReturn ( IDENT_10 . IDENT_11 ) ; when ( IDENT_8 . METHOD_5 ( ) ) . thenReturn ( IDENT_12 . IDENT_13 ) ; when ( IDENT_14 . METHOD_6 ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 , IDENT_15 . IDENT_16 ) ) . thenReturn ( false ) ; mock ( com . cloud . IDENT_17 . IDENT_18 . class ) ; final com . cloud . network . dao . IDENT_19 network = mock ( com . cloud . network . dao . IDENT_19 . class ) ; when ( network . getName ( ) ) . thenReturn ( STRING_1 ) ; when ( network . METHOD_7 ( ) ) . thenReturn ( IDENT_20 . IDENT_21 . IDENT_22 ) ; when ( network . METHOD_8 ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; final com . cloud . IDENT_17 . IDENT_23 IDENT_24 = mock ( com . cloud . IDENT_17 . IDENT_23 . class ) ; final com . cloud . db . model . IDENT_25 IDENT_26 = mock ( com . cloud . db . model . IDENT_25 . class ) ; when ( IDENT_24 . METHOD_9 ( ) ) . thenReturn ( IDENT_26 ) ; final com . cloud . host . IDENT_27 IDENT_28 = mock ( com . cloud . host . IDENT_27 . class ) ; when ( IDENT_29 . METHOD_1 ( METHOD_10 ( ) ) ) . thenReturn ( IDENT_28 ) ; when ( IDENT_28 . METHOD_11 ( STRING_2 ) ) . thenReturn ( STRING_3 ) ; when ( IDENT_28 . METHOD_11 ( STRING_4 ) ) . thenReturn ( STRING_5 ) ; when ( IDENT_28 . getId ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; when ( IDENT_30 . METHOD_12 ( METHOD_10 ( ) , ( ( java . lang . String ) ( any ( ) ) ) , ( ( com . cloud . model . IDENT_31 . IDENT_10 ) ( any ( ) ) ) ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; final com . cloud . IDENT_32 . domain . IDENT_33 dom = mock ( com . cloud . IDENT_32 . domain . IDENT_33 . class ) ; when ( dom . getName ( ) ) . thenReturn ( STRING_6 ) ; final com . cloud . IDENT_32 . user . IDENT_34 IDENT_35 = mock ( com . cloud . IDENT_32 . user . IDENT_34 . class ) ; when ( IDENT_35 . METHOD_13 ( ) ) . thenReturn ( STRING_7 ) ; final com . cloud . IDENT_36 . IDENT_37 res = mock ( com . cloud . IDENT_36 . IDENT_37 . class ) ; when ( res . METHOD_14 ( ) ) . thenReturn ( dom ) ; when ( res . METHOD_15 ( ) ) . thenReturn ( IDENT_35 ) ; final com . cloud . IDENT_32 . IDENT_38 . IDENT_39 . IDENT_40 IDENT_39 = mock ( com . cloud . IDENT_32 . IDENT_38 . IDENT_39 . IDENT_40 . class ) ; when ( IDENT_39 . METHOD_16 ( ) ) . thenReturn ( true ) ; when ( IDENT_41 . METHOD_17 ( eq ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) , ( ( com . cloud . IDENT_32 . IDENT_38 . command . IDENT_42 ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_39 ) ; final com . cloud . IDENT_32 . network . IDENT_20 IDENT_43 = IDENT_3 . METHOD_18 ( network , IDENT_8 , IDENT_24 , res ) ; "<AssertPlaceHolder>" ; verify ( IDENT_41 , times ( 1 ) ) . METHOD_17 ( eq ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) , ( ( com . cloud . IDENT_32 . IDENT_38 . command . IDENT_42 ) ( any ( ) ) ) ) ; } METHOD_18 ( com . cloud . IDENT_32 . network . IDENT_20 , com . cloud . IDENT_8 . IDENT_9 , com . cloud . IDENT_17 . IDENT_23 , com . cloud . IDENT_36 . IDENT_37 ) { assert ( network . METHOD_7 ( ) ) == ( com . cloud . IDENT_32 . network . IDENT_20 . IDENT_21 . IDENT_22 ) : STRING_8 + network ; final long IDENT_44 = IDENT_24 . METHOD_9 ( ) . getId ( ) ; java . lang . Long IDENT_45 = network . METHOD_8 ( ) ; if ( IDENT_45 == null ) { IDENT_45 = IDENT_46 . METHOD_12 ( IDENT_44 , IDENT_8 . METHOD_19 ( ) , IDENT_8 . METHOD_4 ( ) ) ; } final com . cloud . network . dao . IDENT_19 IDENT_47 = new com . cloud . network . dao . METHOD_20 ( network . METHOD_4 ( ) , network . METHOD_21 ( ) , network . METHOD_22 ( ) , network . METHOD_23 ( ) , com . cloud . IDENT_32 . network . IDENT_20 . IDENT_21 . IDENT_48 , network . METHOD_24 ( ) , IDENT_45 , IDENT_8 . METHOD_25 ( ) ) ; METHOD_26 ( network , IDENT_47 , IDENT_44 , IDENT_45 , context . METHOD_27 ( ) ) ; if ( ( network . METHOD_28 ( ) ) != null ) { IDENT_47 . METHOD_29 ( network . METHOD_28 ( ) ) ; } if ( ( network . METHOD_30 ( ) ) != null ) { IDENT_47 . METHOD_31 ( network . METHOD_30 ( ) ) ; } return IDENT_47 ; }
org . junit . Assert . assertTrue ( ( IDENT_43 == null ) )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final com . cloud . network . IDENT_0 . IDENT_1 IDENT_2 = mock ( com . cloud . network . IDENT_0 . IDENT_1 . class ) ; when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( STRING_1 ) ; when ( IDENT_3 . METHOD_3 ( ) ) . thenReturn ( IDENT_2 ) ; final com . cloud . IDENT_4 . IDENT_5 . command . IDENT_6 IDENT_7 = resource . METHOD_4 ( INT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( long ) { return new com . cloud . IDENT_4 . IDENT_5 . command . METHOD_5 ( com . cloud . model . IDENT_8 . IDENT_9 . IDENT_10 , id , new java . util . HashMap ( ) ) ; }
org . junit . Assert . assertTrue ( ( IDENT_7 == null ) )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final com . cloud . network . IDENT_0 . IDENT_1 IDENT_2 = mock ( com . cloud . network . IDENT_0 . IDENT_1 . class ) ; when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( STRING_1 ) ; when ( IDENT_3 . METHOD_3 ( ) ) . METHOD_4 ( new com . cloud . network . IDENT_0 . METHOD_5 ( ) ) ; final com . cloud . IDENT_4 . IDENT_5 . command . IDENT_6 IDENT_7 = resource . METHOD_6 ( INT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( long ) { return new com . cloud . IDENT_4 . IDENT_5 . command . METHOD_7 ( com . cloud . model . IDENT_8 . IDENT_9 . IDENT_10 , id , new java . util . HashMap ( ) ) ; }
org . junit . Assert . assertTrue ( ( IDENT_7 == null ) )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final com . cloud . network . IDENT_0 . IDENT_1 IDENT_2 = mock ( com . cloud . network . IDENT_0 . IDENT_1 . class ) ; when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( STRING_1 ) . thenReturn ( STRING_1 ) ; when ( IDENT_3 . METHOD_3 ( ( ( com . cloud . network . IDENT_0 . IDENT_1 ) ( any ( ) ) ) ) ) . METHOD_4 ( new com . cloud . network . IDENT_0 . METHOD_5 ( ) ) . METHOD_4 ( new com . cloud . network . IDENT_0 . METHOD_5 ( ) ) . thenReturn ( IDENT_2 ) ; final com . cloud . IDENT_4 . IDENT_5 . command . IDENT_6 IDENT_7 = new com . cloud . IDENT_4 . IDENT_5 . command . METHOD_6 ( ( ( java . lang . String ) ( parameters . get ( STRING_2 ) ) ) , STRING_3 , STRING_4 , STRING_5 , null ) ; final com . cloud . IDENT_4 . IDENT_5 . IDENT_8 . IDENT_9 IDENT_10 = ( ( com . cloud . IDENT_4 . IDENT_5 . IDENT_8 . IDENT_9 ) ( resource . METHOD_7 ( IDENT_7 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( ) { if ( ! ( IDENT_11 ) ) { METHOD_9 ( ) ; } return result ; }
org . junit . Assert . assertTrue ( IDENT_10 . METHOD_8 ( ) )
METHOD_0 ( ) { try { java . lang . String IDENT_0 = org . apache . flink . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; java . lang . String IDENT_3 = org . apache . flink . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; java . io . File IDENT_4 = IDENT_5 . METHOD_2 ( IDENT_0 , IDENT_3 ) ; java . io . File IDENT_6 = IDENT_4 . METHOD_3 ( ) ; org . apache . flink . IDENT_1 . IDENT_2 . METHOD_4 ( IDENT_6 . getAbsolutePath ( ) , STRING_0 ) ; org . apache . flink . IDENT_1 . IDENT_2 . METHOD_4 ( IDENT_4 . getAbsolutePath ( ) , STRING_1 ) ; org . apache . flink . IDENT_1 . IDENT_2 . METHOD_4 ( IDENT_4 . getAbsolutePath ( ) , STRING_2 ) ; this . format . METHOD_5 ( new org . apache . flink . core . fs . Path ( IDENT_6 . METHOD_6 ( ) . toString ( ) ) ) ; this . config . METHOD_7 ( STRING_3 , false ) ; format . METHOD_8 ( this . config ) ; org . apache . flink . core . fs . IDENT_7 [ ] IDENT_8 = format . METHOD_9 ( 1 ) ; "<AssertPlaceHolder>" ; } catch ( java . lang . Exception ex ) { ex . printStackTrace ( ) ; org . junit . Assert . fail ( ex . getMessage ( ) ) ; } } METHOD_9 ( int ) { return new org . apache . flink . core . io . IDENT_9 [ ] { new org . apache . flink . runtime . IDENT_10 . IDENT_11 . METHOD_10 ( 0 , 1 ) } ; }
org . junit . Assert . assertEquals ( 1 , IDENT_8 . length )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final com . cloud . network . IDENT_0 . IDENT_1 IDENT_2 = mock ( com . cloud . network . IDENT_0 . IDENT_1 . class ) ; when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( STRING_1 ) . thenReturn ( STRING_1 ) ; when ( IDENT_3 . METHOD_3 ( ( ( com . cloud . network . IDENT_0 . IDENT_1 ) ( any ( ) ) ) ) ) . METHOD_4 ( new com . cloud . network . IDENT_0 . METHOD_5 ( ) ) ; final com . cloud . IDENT_4 . IDENT_5 . command . IDENT_6 IDENT_7 = new com . cloud . IDENT_4 . IDENT_5 . command . METHOD_6 ( ( ( java . lang . String ) ( parameters . get ( STRING_2 ) ) ) , STRING_3 , STRING_4 , STRING_5 , null ) ; final com . cloud . IDENT_4 . IDENT_5 . IDENT_8 . IDENT_9 IDENT_10 = ( ( com . cloud . IDENT_4 . IDENT_5 . IDENT_8 . IDENT_9 ) ( resource . METHOD_7 ( IDENT_7 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( ) { if ( ! ( IDENT_11 ) ) { METHOD_9 ( ) ; } return result ; }
org . junit . Assert . assertFalse ( IDENT_10 . METHOD_8 ( ) )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final com . cloud . IDENT_0 . IDENT_1 . command . IDENT_2 IDENT_3 = new com . cloud . IDENT_0 . IDENT_1 . command . METHOD_2 ( STRING_1 ) ; final com . cloud . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 IDENT_6 = ( ( com . cloud . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 ) ( resource . METHOD_3 ( IDENT_3 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { if ( ! ( IDENT_7 ) ) { METHOD_5 ( ) ; } return result ; }
org . junit . Assert . assertTrue ( IDENT_6 . METHOD_4 ( ) )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final com . cloud . network . IDENT_0 . IDENT_1 IDENT_2 = mock ( com . cloud . network . IDENT_0 . IDENT_1 . class ) ; when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( STRING_1 ) ; when ( IDENT_3 . METHOD_3 ( eq ( STRING_2 ) , ( ( com . cloud . network . IDENT_0 . IDENT_1 ) ( any ( ) ) ) ) ) . METHOD_4 ( new com . cloud . network . IDENT_0 . METHOD_5 ( ) ) ; final com . cloud . IDENT_4 . IDENT_5 . command . IDENT_6 IDENT_7 = new com . cloud . IDENT_4 . IDENT_5 . command . METHOD_6 ( STRING_2 , STRING_3 , STRING_4 , STRING_5 , false , null , null ) ; final com . cloud . IDENT_4 . IDENT_5 . IDENT_8 . IDENT_9 IDENT_10 = ( ( com . cloud . IDENT_4 . IDENT_5 . IDENT_8 . IDENT_9 ) ( resource . METHOD_7 ( IDENT_7 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( ) { if ( ! ( IDENT_11 ) ) { METHOD_9 ( ) ; } return result ; }
org . junit . Assert . assertFalse ( IDENT_10 . METHOD_8 ( ) )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final com . cloud . network . IDENT_0 . IDENT_1 IDENT_2 = mock ( com . cloud . network . IDENT_0 . IDENT_1 . class ) ; when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( STRING_1 ) ; when ( IDENT_3 . METHOD_3 ( eq ( STRING_2 ) , ( ( com . cloud . network . IDENT_0 . IDENT_1 ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_2 ) ; METHOD_4 ( new com . cloud . network . IDENT_0 . METHOD_5 ( ) ) . when ( IDENT_3 ) . METHOD_6 ( ( ( java . lang . String ) ( any ( ) ) ) , ( ( java . lang . String ) ( any ( ) ) ) , ( ( com . cloud . network . IDENT_0 . IDENT_4 ) ( any ( ) ) ) ) ; final com . cloud . IDENT_5 . IDENT_6 . command . IDENT_7 IDENT_8 = new com . cloud . IDENT_5 . IDENT_6 . command . METHOD_7 ( STRING_2 , STRING_3 , STRING_4 , STRING_5 , false , null , null ) ; final com . cloud . IDENT_5 . IDENT_6 . IDENT_9 . IDENT_10 IDENT_11 = ( ( com . cloud . IDENT_5 . IDENT_6 . IDENT_9 . IDENT_10 ) ( resource . METHOD_8 ( IDENT_8 ) ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 , METHOD_9 ( ) ) . METHOD_10 ( ( ( java . lang . String ) ( any ( ) ) ) , ( ( java . lang . String ) ( any ( ) ) ) ) ; } METHOD_11 ( ) { if ( ! ( IDENT_12 ) ) { METHOD_12 ( ) ; } return result ; }
org . junit . Assert . assertFalse ( IDENT_11 . METHOD_11 ( ) )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; METHOD_2 ( new com . cloud . network . IDENT_0 . METHOD_3 ( ) ) . when ( IDENT_1 ) . METHOD_4 ( ( ( java . lang . String ) ( any ( ) ) ) , ( ( java . lang . String ) ( any ( ) ) ) , ( ( com . cloud . network . IDENT_0 . IDENT_2 ) ( any ( ) ) ) ) ; final com . cloud . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 IDENT_7 = ( ( com . cloud . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 ) ( resource . METHOD_5 ( new com . cloud . IDENT_3 . IDENT_4 . command . METHOD_6 ( STRING_1 , STRING_2 , STRING_3 , STRING_4 , STRING_5 , null , null ) ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { if ( ! ( IDENT_8 ) ) { METHOD_8 ( ) ; } return result ; }
org . junit . Assert . assertFalse ( IDENT_7 . METHOD_7 ( ) )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final java . util . List < com . cloud . network . IDENT_0 . IDENT_1 > IDENT_2 = java . util . Collections . IDENT_3 ; when ( IDENT_4 . METHOD_2 ( STRING_1 , STRING_2 ) ) . thenReturn ( IDENT_2 ) ; final com . cloud . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 IDENT_9 = ( ( com . cloud . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 ) ( resource . METHOD_3 ( new com . cloud . IDENT_5 . IDENT_6 . command . METHOD_4 ( STRING_1 , STRING_2 ) ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { if ( ! ( IDENT_10 ) ) { METHOD_6 ( ) ; } return result ; }
org . junit . Assert . assertFalse ( IDENT_9 . METHOD_5 ( ) )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; when ( IDENT_0 . METHOD_2 ( STRING_1 , STRING_2 ) ) . METHOD_3 ( new com . cloud . network . IDENT_1 . METHOD_4 ( ) ) ; final com . cloud . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 IDENT_6 = ( ( com . cloud . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 ) ( resource . METHOD_5 ( new com . cloud . IDENT_2 . IDENT_3 . command . METHOD_6 ( STRING_1 , STRING_2 ) ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { if ( ! ( IDENT_7 ) ) { METHOD_8 ( ) ; } return result ; }
org . junit . Assert . assertFalse ( IDENT_6 . METHOD_7 ( ) )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; when ( IDENT_0 . METHOD_2 ( ( ( com . cloud . network . IDENT_1 . IDENT_2 ) ( any ( ) ) ) ) ) . METHOD_3 ( new com . cloud . network . IDENT_1 . METHOD_4 ( ) ) ; final com . cloud . IDENT_3 . IDENT_4 . command . IDENT_5 IDENT_6 = new com . cloud . IDENT_3 . IDENT_4 . command . METHOD_5 ( STRING_1 , 50 , STRING_2 , STRING_3 , STRING_4 , STRING_5 , STRING_6 , STRING_7 ) ; final com . cloud . IDENT_3 . IDENT_4 . IDENT_7 . IDENT_8 IDENT_9 = ( ( com . cloud . IDENT_3 . IDENT_4 . IDENT_7 . IDENT_8 ) ( resource . METHOD_6 ( IDENT_6 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { if ( ! ( IDENT_10 ) ) { METHOD_8 ( ) ; } return result ; }
org . junit . Assert . assertFalse ( IDENT_9 . METHOD_7 ( ) )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final com . cloud . network . IDENT_0 . IDENT_1 IDENT_2 = mock ( com . cloud . network . IDENT_0 . IDENT_1 . class ) ; final com . cloud . network . IDENT_0 . IDENT_3 IDENT_4 = mock ( com . cloud . network . IDENT_0 . IDENT_3 . class ) ; final com . cloud . network . IDENT_0 . IDENT_5 IDENT_6 = mock ( com . cloud . network . IDENT_0 . IDENT_5 . class ) ; when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( STRING_1 ) ; when ( IDENT_4 . METHOD_2 ( ) ) . thenReturn ( STRING_2 ) . thenReturn ( STRING_3 ) ; when ( IDENT_6 . METHOD_2 ( ) ) . thenReturn ( STRING_4 ) ; when ( IDENT_7 . METHOD_3 ( ( ( com . cloud . network . IDENT_0 . IDENT_1 ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_2 ) ; when ( IDENT_7 . METHOD_4 ( eq ( STRING_1 ) , ( ( com . cloud . network . IDENT_0 . IDENT_3 ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_4 ) ; when ( IDENT_7 . METHOD_5 ( eq ( STRING_5 0 ) , ( ( com . cloud . network . IDENT_0 . IDENT_5 ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_6 ) ; when ( IDENT_7 . METHOD_6 ( ( ( java . lang . String ) ( any ( ) ) ) , ( ( com . cloud . network . IDENT_0 . IDENT_8 ) ( any ( ) ) ) ) ) . METHOD_7 ( new com . cloud . network . IDENT_0 . METHOD_8 ( ) ) ; final com . cloud . IDENT_9 . IDENT_10 . command . IDENT_11 IDENT_12 = new com . cloud . IDENT_9 . IDENT_10 . command . METHOD_9 ( STRING_6 , 50 , STRING_5 0 , STRING_5 , STRING_7 , STRING_8 , STRING_5 1 , STRING_9 ) ; final com . cloud . IDENT_9 . IDENT_10 . IDENT_13 . IDENT_14 IDENT_15 = ( ( com . cloud . IDENT_9 . IDENT_10 . IDENT_13 . IDENT_14 ) ( resource . METHOD_10 ( IDENT_12 ) ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_7 , METHOD_11 ( 1 ) ) . METHOD_12 ( eq ( STRING_1 ) ) ; verify ( IDENT_7 , METHOD_11 ( 1 ) ) . METHOD_13 ( eq ( STRING_5 0 ) , eq ( STRING_4 ) ) ; } METHOD_14 ( ) { if ( ! ( IDENT_16 ) ) { METHOD_15 ( ) ; } return result ; }
org . junit . Assert . assertFalse ( IDENT_15 . METHOD_14 ( ) )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final com . cloud . IDENT_0 . IDENT_1 . command . IDENT_2 IDENT_3 = mock ( com . cloud . IDENT_0 . IDENT_1 . command . IDENT_2 . class ) ; when ( IDENT_3 . METHOD_2 ( ) ) . thenReturn ( STRING_1 ) ; when ( IDENT_3 . METHOD_3 ( ) ) . thenReturn ( STRING_2 ) ; when ( IDENT_4 . METHOD_4 ( STRING_1 , STRING_2 ) ) . METHOD_5 ( new com . cloud . network . IDENT_5 . METHOD_6 ( STRING_3 ) ) . METHOD_5 ( new com . cloud . network . IDENT_5 . METHOD_6 ( STRING_4 ) ) ; final com . cloud . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 IDENT_6 = ( ( com . cloud . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 ) ( resource . METHOD_7 ( IDENT_3 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( ) { return result ; }
org . junit . Assert . assertFalse ( IDENT_6 . METHOD_8 ( ) )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final com . cloud . IDENT_0 . IDENT_1 . command . IDENT_2 IDENT_3 = mock ( com . cloud . IDENT_0 . IDENT_1 . command . IDENT_2 . class ) ; final com . cloud . IDENT_0 . to . IDENT_4 rule = new com . cloud . IDENT_0 . to . METHOD_2 ( 1 , STRING_1 , null , null , STRING_2 , null , null , null , true , false ) ; final java . util . List < com . cloud . IDENT_0 . to . METHOD_2 > rules = new java . util . ArrayList ( ) ; rules . add ( rule ) ; when ( IDENT_3 . METHOD_3 ( ) ) . thenReturn ( rules ) ; when ( IDENT_3 . METHOD_4 ( ) ) . thenReturn ( STRING_3 ) ; final com . cloud . network . IDENT_5 . IDENT_6 [ ] IDENT_7 = resource . METHOD_5 ( STRING_2 , STRING_1 ) ; final java . util . UUID IDENT_8 = java . util . UUID . METHOD_6 ( ) ; final java . util . UUID IDENT_9 = java . util . UUID . METHOD_6 ( ) ; IDENT_7 [ 0 ] . METHOD_7 ( IDENT_8 ) ; IDENT_7 [ 1 ] . METHOD_7 ( IDENT_9 ) ; when ( IDENT_10 . METHOD_8 ( eq ( STRING_3 ) , ( ( com . cloud . network . IDENT_5 . IDENT_6 ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_7 [ 0 ] ) . thenReturn ( IDENT_7 [ 1 ] ) ; final java . util . List < com . cloud . network . IDENT_5 . IDENT_6 > IDENT_11 = java . util . Arrays . asList ( IDENT_7 ) ; when ( IDENT_10 . METHOD_9 ( STRING_3 ) ) . thenReturn ( IDENT_11 ) ; final com . cloud . IDENT_0 . IDENT_1 . IDENT_12 . IDENT_13 a = ( ( com . cloud . IDENT_0 . IDENT_1 . IDENT_12 . IDENT_13 ) ( resource . METHOD_10 ( IDENT_3 ) ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_10 , METHOD_11 ( 2 ) ) . METHOD_12 ( eq ( STRING_3 ) , METHOD_13 ( new org . mockito . IDENT_14 < java . util . UUID > ( ) { @ com . cloud . network . resource . Override public boolean matches ( final java . lang . Object IDENT_15 ) { final java . util . UUID IDENT_16 = ( ( java . util . UUID ) ( IDENT_15 ) ) ; if ( ( IDENT_8 . equals ( IDENT_16 ) ) || ( IDENT_9 . equals ( IDENT_16 ) ) ) { return true ; } return false ; } } ) ) ; } METHOD_14 ( ) { return result ; }
org . junit . Assert . assertTrue ( a . METHOD_14 ( ) )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final com . cloud . IDENT_0 . IDENT_1 . command . IDENT_2 IDENT_3 = mock ( com . cloud . IDENT_0 . IDENT_1 . command . IDENT_2 . class ) ; final com . cloud . IDENT_0 . to . IDENT_4 rule = new com . cloud . IDENT_0 . to . METHOD_2 ( 1 , STRING_1 , null , null , STRING_2 , null , null , null , false , false ) ; final java . util . List < com . cloud . IDENT_0 . to . METHOD_2 > rules = new java . util . ArrayList ( ) ; rules . add ( rule ) ; when ( IDENT_3 . METHOD_3 ( ) ) . thenReturn ( rules ) ; when ( IDENT_3 . METHOD_4 ( ) ) . thenReturn ( STRING_3 ) ; final com . cloud . network . IDENT_5 . IDENT_6 [ ] IDENT_7 = resource . METHOD_5 ( STRING_2 , STRING_1 ) ; IDENT_7 [ 0 ] . METHOD_6 ( java . util . UUID . METHOD_7 ( ) ) ; IDENT_7 [ 1 ] . METHOD_6 ( java . util . UUID . METHOD_7 ( ) ) ; when ( IDENT_8 . METHOD_8 ( eq ( STRING_3 ) , ( ( com . cloud . network . IDENT_5 . IDENT_6 ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_7 [ 0 ] ) . METHOD_9 ( new com . cloud . network . IDENT_5 . METHOD_10 ( ) ) ; final java . util . List < com . cloud . network . IDENT_5 . IDENT_6 > IDENT_9 = java . util . Collections . IDENT_10 ; when ( IDENT_8 . METHOD_11 ( STRING_3 ) ) . thenReturn ( IDENT_9 ) ; final com . cloud . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_12 a = ( ( com . cloud . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_12 ) ( resource . METHOD_12 ( IDENT_3 ) ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_8 , METHOD_13 ( ) ) . METHOD_14 ( eq ( STRING_3 ) , eq ( IDENT_7 [ 0 ] . METHOD_15 ( ) ) ) ; } METHOD_16 ( ) { return result ; }
org . junit . Assert . assertFalse ( a . METHOD_16 ( ) )
METHOD_0 ( ) { try { java . lang . String IDENT_0 = org . apache . flink . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; java . lang . String IDENT_3 = org . apache . flink . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; java . lang . String IDENT_4 = org . apache . flink . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; java . lang . String IDENT_5 = org . apache . flink . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; java . io . File IDENT_6 = IDENT_7 . METHOD_2 ( IDENT_0 ) ; IDENT_7 . METHOD_2 ( IDENT_0 , IDENT_3 ) ; java . io . File IDENT_8 = IDENT_7 . METHOD_2 ( IDENT_0 , IDENT_3 , IDENT_4 ) ; java . io . File IDENT_9 = IDENT_7 . METHOD_2 ( IDENT_0 , IDENT_3 , IDENT_5 ) ; org . apache . flink . IDENT_1 . IDENT_2 . METHOD_3 ( IDENT_8 . getAbsolutePath ( ) , STRING_0 ) ; org . apache . flink . IDENT_1 . IDENT_2 . METHOD_3 ( IDENT_8 . getAbsolutePath ( ) , STRING_1 ) ; org . apache . flink . IDENT_1 . IDENT_2 . METHOD_3 ( IDENT_9 . getAbsolutePath ( ) , STRING_2 ) ; org . apache . flink . IDENT_1 . IDENT_2 . METHOD_3 ( IDENT_9 . getAbsolutePath ( ) , STRING_3 ) ; this . format . METHOD_4 ( new org . apache . flink . core . fs . Path ( IDENT_6 . getAbsolutePath ( ) ) ) ; this . config . METHOD_5 ( STRING_4 , true ) ; format . METHOD_6 ( this . config ) ; org . apache . flink . core . fs . IDENT_10 [ ] IDENT_11 = format . METHOD_7 ( 1 ) ; "<AssertPlaceHolder>" ; } catch ( java . lang . Exception ex ) { ex . printStackTrace ( ) ; org . junit . Assert . fail ( ex . getMessage ( ) ) ; } } METHOD_7 ( int ) { return new org . apache . flink . core . io . IDENT_12 [ ] { new org . apache . flink . runtime . IDENT_13 . IDENT_14 . METHOD_8 ( 0 , 1 ) } ; }
org . junit . Assert . assertEquals ( 4 , IDENT_11 . length )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final com . cloud . IDENT_0 . IDENT_1 . command . IDENT_2 IDENT_3 = mock ( com . cloud . IDENT_0 . IDENT_1 . command . IDENT_2 . class ) ; final com . cloud . IDENT_0 . to . IDENT_4 rule = new com . cloud . IDENT_0 . to . METHOD_2 ( 1 , STRING_1 , INT_0 , INT_0 , STRING_2 , INT_1 , INT_1 , STRING_3 , false , false ) ; final java . util . List < com . cloud . IDENT_0 . to . METHOD_2 > rules = new java . util . ArrayList ( ) ; rules . add ( rule ) ; when ( IDENT_3 . METHOD_3 ( ) ) . thenReturn ( rules ) ; when ( IDENT_3 . METHOD_4 ( ) ) . thenReturn ( STRING_4 ) ; final java . util . List < com . cloud . network . IDENT_5 . IDENT_6 > IDENT_7 = java . util . Collections . IDENT_8 ; when ( IDENT_9 . METHOD_5 ( STRING_4 ) ) . thenReturn ( IDENT_7 ) ; final com . cloud . network . IDENT_5 . IDENT_6 [ ] IDENT_10 = resource . METHOD_6 ( STRING_2 , new int [ ] { INT_1 , INT_1 } , STRING_1 , new int [ ] { INT_0 , INT_0 } , STRING_3 ) ; IDENT_10 [ 0 ] . METHOD_7 ( java . util . UUID . METHOD_8 ( ) ) ; IDENT_10 [ 1 ] . METHOD_7 ( java . util . UUID . METHOD_8 ( ) ) ; when ( IDENT_9 . METHOD_9 ( eq ( STRING_4 ) , ( ( com . cloud . network . IDENT_5 . IDENT_6 ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_10 [ 0 ] ) . thenReturn ( IDENT_10 [ 1 ] ) ; final com . cloud . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_12 a = ( ( com . cloud . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_12 ) ( resource . METHOD_10 ( IDENT_3 ) ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_9 , METHOD_11 ( 2 ) ) . METHOD_9 ( eq ( STRING_4 ) , METHOD_12 ( new org . mockito . IDENT_13 < com . cloud . network . IDENT_5 . IDENT_6 > ( ) { @ com . cloud . network . resource . Override public boolean matches ( final java . lang . Object IDENT_14 ) { final com . cloud . network . IDENT_5 . IDENT_6 rule = ( ( com . cloud . network . IDENT_5 . IDENT_6 ) ( IDENT_14 ) ) ; if ( ( rule . getType ( ) . equals ( STRING_5 ) ) && ( ( ( com . cloud . network . IDENT_5 . IDENT_15 ) ( rule ) ) . METHOD_13 ( ) . equals ( STRING_2 ) ) ) { return true ; } if ( ( rule . getType ( ) . equals ( STRING_6 ) ) && ( ( ( com . cloud . network . IDENT_5 . IDENT_16 ) ( rule ) ) . METHOD_14 ( ) . equals ( STRING_1 ) ) ) { return true ; } return false ; } } ) ) ; } METHOD_15 ( ) { return result ; }
org . junit . Assert . assertTrue ( a . METHOD_15 ( ) )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final com . cloud . IDENT_0 . IDENT_1 . command . IDENT_2 IDENT_3 = mock ( com . cloud . IDENT_0 . IDENT_1 . command . IDENT_2 . class ) ; final com . cloud . IDENT_0 . to . IDENT_4 rule = new com . cloud . IDENT_0 . to . METHOD_2 ( 1 , STRING_1 , INT_0 , INT_0 , STRING_2 , INT_1 , INT_1 , STRING_3 , false , false ) ; final java . util . List < com . cloud . IDENT_0 . to . METHOD_2 > rules = new java . util . ArrayList ( ) ; rules . add ( rule ) ; when ( IDENT_3 . METHOD_3 ( ) ) . thenReturn ( rules ) ; when ( IDENT_3 . METHOD_4 ( ) ) . thenReturn ( STRING_4 ) ; final com . cloud . network . IDENT_5 . IDENT_6 [ ] IDENT_7 = resource . METHOD_5 ( STRING_2 , new int [ ] { INT_1 , INT_1 } , STRING_1 , new int [ ] { INT_0 , INT_0 } , STRING_3 ) ; IDENT_7 [ 0 ] . METHOD_6 ( java . util . UUID . METHOD_7 ( ) ) ; IDENT_7 [ 1 ] . METHOD_6 ( java . util . UUID . METHOD_7 ( ) ) ; when ( IDENT_8 . METHOD_8 ( eq ( STRING_4 ) , ( ( com . cloud . network . IDENT_5 . IDENT_6 ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_7 [ 0 ] ) . METHOD_9 ( new com . cloud . network . IDENT_5 . METHOD_10 ( ) ) ; final java . util . List < com . cloud . network . IDENT_5 . IDENT_6 > IDENT_9 = java . util . Collections . IDENT_10 ; when ( IDENT_8 . METHOD_11 ( STRING_4 ) ) . thenReturn ( IDENT_9 ) ; final com . cloud . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_12 a = ( ( com . cloud . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_12 ) ( resource . METHOD_12 ( IDENT_3 ) ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_8 , METHOD_13 ( ) ) . METHOD_14 ( eq ( STRING_4 ) , eq ( IDENT_7 [ 0 ] . METHOD_15 ( ) ) ) ; } METHOD_16 ( ) { return result ; }
org . junit . Assert . assertFalse ( a . METHOD_16 ( ) )
METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final com . cloud . IDENT_0 . IDENT_1 . command . IDENT_2 IDENT_3 = mock ( com . cloud . IDENT_0 . IDENT_1 . command . IDENT_2 . class ) ; final com . cloud . IDENT_0 . to . IDENT_4 rule = new com . cloud . IDENT_0 . to . METHOD_2 ( 1 , STRING_1 , INT_0 , INT_1 , STRING_2 , INT_0 , INT_1 , STRING_3 , false , false ) ; final java . util . List < com . cloud . IDENT_0 . to . METHOD_2 > rules = new java . util . ArrayList ( ) ; rules . add ( rule ) ; when ( IDENT_3 . METHOD_3 ( ) ) . thenReturn ( rules ) ; when ( IDENT_3 . METHOD_4 ( ) ) . thenReturn ( STRING_4 ) ; final java . util . List < com . cloud . network . IDENT_5 . IDENT_6 > IDENT_7 = java . util . Collections . IDENT_8 ; when ( IDENT_9 . METHOD_5 ( STRING_4 ) ) . thenReturn ( IDENT_7 ) ; final com . cloud . network . IDENT_5 . IDENT_6 [ ] IDENT_10 = resource . METHOD_6 ( STRING_2 , new int [ ] { INT_0 , INT_1 } , STRING_1 , new int [ ] { INT_0 , INT_1 } , STRING_3 ) ; IDENT_10 [ 0 ] . METHOD_7 ( java . util . UUID . METHOD_8 ( ) ) ; IDENT_10 [ 1 ] . METHOD_7 ( java . util . UUID . METHOD_8 ( ) ) ; when ( IDENT_9 . METHOD_9 ( eq ( STRING_4 ) , ( ( com . cloud . network . IDENT_5 . IDENT_6 ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_10 [ 0 ] ) . thenReturn ( IDENT_10 [ 1 ] ) ; final com . cloud . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_12 a = ( ( com . cloud . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_12 ) ( resource . METHOD_10 ( IDENT_3 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( ) { return result ; }
org . junit . Assert . assertFalse ( a . METHOD_11 ( ) )
METHOD_0 ( ) { final com . cloud . network . IDENT_0 . IDENT_1 IDENT_2 = METHOD_1 ( this . IDENT_3 ) ; final com . cloud . IDENT_4 . network . IDENT_5 IDENT_6 = mock ( com . cloud . IDENT_4 . network . IDENT_5 . class ) ; when ( IDENT_6 . METHOD_2 ( ) ) . thenReturn ( com . cloud . network . IDENT_0 . IDENT_7 . IDENT_8 ) ; doReturn ( true ) . when ( IDENT_2 ) . METHOD_3 ( IDENT_6 ) ; final com . cloud . IDENT_9 . manager . IDENT_10 commands = mock ( com . cloud . IDENT_9 . manager . IDENT_10 . class ) ; when ( commands . size ( ) ) . thenReturn ( 3 ) ; final com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 IDENT_14 = mock ( com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 . class ) ; final com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 IDENT_15 = mock ( com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 . class ) ; final com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 IDENT_16 = mock ( com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 . class ) ; final com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 [ ] IDENT_17 = new com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 [ ] { IDENT_14 , IDENT_15 , IDENT_16 } ; when ( IDENT_14 . METHOD_4 ( ) ) . thenReturn ( true ) ; when ( IDENT_15 . METHOD_4 ( ) ) . thenReturn ( false ) ; when ( IDENT_16 . METHOD_4 ( ) ) . thenReturn ( false ) ; when ( this . IDENT_18 . METHOD_5 ( com . cloud . network . IDENT_0 . IDENT_7 . IDENT_8 , commands ) ) . thenReturn ( IDENT_17 ) ; final boolean result = IDENT_2 . METHOD_6 ( IDENT_6 , commands ) ; verify ( this . IDENT_18 , times ( 1 ) ) . METHOD_5 ( com . cloud . network . IDENT_0 . IDENT_7 . IDENT_8 , commands ) ; verify ( IDENT_14 , times ( 1 ) ) . METHOD_4 ( ) ; verify ( IDENT_15 , times ( 1 ) ) . METHOD_4 ( ) ; verify ( IDENT_16 , times ( 0 ) ) . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return result ; }
org . junit . Assert . assertFalse ( result )
METHOD_0 ( ) { final com . cloud . network . IDENT_0 . IDENT_1 IDENT_2 = METHOD_1 ( this . IDENT_3 ) ; final com . cloud . IDENT_4 . network . IDENT_5 IDENT_6 = mock ( com . cloud . IDENT_4 . network . IDENT_5 . class ) ; when ( IDENT_6 . METHOD_2 ( ) ) . thenReturn ( com . cloud . network . IDENT_0 . IDENT_7 . IDENT_8 ) ; doReturn ( true ) . when ( IDENT_2 ) . METHOD_3 ( IDENT_6 ) ; final com . cloud . IDENT_9 . manager . IDENT_10 commands = mock ( com . cloud . IDENT_9 . manager . IDENT_10 . class ) ; when ( commands . size ( ) ) . thenReturn ( 3 ) ; final com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 IDENT_14 = mock ( com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 . class ) ; final com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 IDENT_15 = mock ( com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 . class ) ; final com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 IDENT_16 = mock ( com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 . class ) ; final com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 [ ] IDENT_17 = new com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 [ ] { IDENT_14 , IDENT_15 , IDENT_16 } ; when ( IDENT_14 . METHOD_4 ( ) ) . thenReturn ( true ) ; when ( IDENT_15 . METHOD_4 ( ) ) . thenReturn ( true ) ; when ( IDENT_16 . METHOD_4 ( ) ) . thenReturn ( true ) ; when ( this . IDENT_18 . METHOD_5 ( com . cloud . network . IDENT_0 . IDENT_7 . IDENT_8 , commands ) ) . thenReturn ( IDENT_17 ) ; final boolean result = IDENT_2 . METHOD_6 ( IDENT_6 , commands ) ; verify ( this . IDENT_18 , times ( 1 ) ) . METHOD_5 ( com . cloud . network . IDENT_0 . IDENT_7 . IDENT_8 , commands ) ; verify ( IDENT_14 , times ( 1 ) ) . METHOD_4 ( ) ; verify ( IDENT_15 , times ( 1 ) ) . METHOD_4 ( ) ; verify ( IDENT_16 , times ( 1 ) ) . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return result ; }
org . junit . Assert . assertTrue ( result )
METHOD_0 ( ) { final com . cloud . network . IDENT_0 . IDENT_1 IDENT_2 = METHOD_1 ( this . IDENT_3 ) ; final com . cloud . IDENT_4 . network . IDENT_5 IDENT_6 = mock ( com . cloud . IDENT_4 . network . IDENT_5 . class ) ; when ( IDENT_6 . METHOD_2 ( ) ) . thenReturn ( com . cloud . network . IDENT_0 . IDENT_7 . IDENT_8 ) ; doReturn ( true ) . when ( IDENT_2 ) . METHOD_3 ( IDENT_6 ) ; final com . cloud . IDENT_9 . manager . IDENT_10 commands = mock ( com . cloud . IDENT_9 . manager . IDENT_10 . class ) ; when ( commands . size ( ) ) . thenReturn ( 3 ) ; final com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 IDENT_14 = mock ( com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 . class ) ; final com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 IDENT_15 = mock ( com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 . class ) ; final com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 [ ] IDENT_16 = new com . cloud . IDENT_4 . IDENT_11 . IDENT_12 . IDENT_13 [ ] { IDENT_14 , IDENT_15 } ; when ( this . IDENT_17 . METHOD_4 ( com . cloud . network . IDENT_0 . IDENT_7 . IDENT_8 , commands ) ) . thenReturn ( IDENT_16 ) ; final boolean result = IDENT_2 . METHOD_5 ( IDENT_6 , commands ) ; verify ( this . IDENT_17 , times ( 1 ) ) . METHOD_4 ( com . cloud . network . IDENT_0 . IDENT_7 . IDENT_8 , commands ) ; verify ( IDENT_14 , times ( 0 ) ) . METHOD_6 ( ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { return result ; }
org . junit . Assert . assertFalse ( result )
METHOD_0 ( ) { final com . cloud . IDENT_0 . module . factory . IDENT_1 factory = new com . cloud . IDENT_0 . module . factory . METHOD_1 ( ) ; final com . cloud . IDENT_0 . module . model . IDENT_2 set = factory . METHOD_2 ( IDENT_3 , STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . Object ) { org . springframework . context . IDENT_4 result = null ; MOD_0 ( com . cloud . utils . component . IDENT_5 . IDENT_6 ) { if ( ( instance != null ) && ( ( com . cloud . utils . component . IDENT_5 . IDENT_6 ) != null ) ) { result = com . cloud . utils . component . IDENT_5 . IDENT_6 . get ( instance . getClass ( ) ) ; } } return result == null ? com . cloud . utils . component . IDENT_5 . IDENT_7 : result ; }
org . junit . Assert . assertNotNull ( set . METHOD_3 ( STRING_0 ) )
METHOD_0 ( ) { final com . cloud . IDENT_0 . module . IDENT_1 . impl . IDENT_2 factory = new com . cloud . IDENT_0 . module . IDENT_1 . impl . METHOD_1 ( ) ; final java . util . Collection < com . cloud . IDENT_0 . module . model . IDENT_3 > IDENT_4 = factory . METHOD_2 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } size ( ) { return IDENT_5 . size ( ) ; }
org . junit . Assert . assertEquals ( 8 , IDENT_4 . size ( ) )