METHOD_0 ( ) { java . io . File IDENT_0 = mock ( java . io . File . class ) ; METHOD_1 ( java . io . File . class ) . METHOD_2 ( anyString ( ) ) . thenReturn ( IDENT_0 ) ; when ( IDENT_0 . exists ( ) ) . thenReturn ( true ) ; when ( IDENT_0 . METHOD_3 ( ) ) . thenReturn ( false ) ; com . IDENT_1 . IDENT_2 . IDENT_3 session = mock ( com . IDENT_1 . IDENT_2 . IDENT_3 . class ) ; com . IDENT_1 . IDENT_2 . IDENT_4 IDENT_2 = mock ( com . IDENT_1 . IDENT_2 . IDENT_4 . class ) ; METHOD_1 ( com . IDENT_1 . IDENT_2 . IDENT_4 . class ) . METHOD_4 ( ) . thenReturn ( IDENT_2 ) ; org . mockito . Mockito . METHOD_5 ( ) . when ( IDENT_2 ) . METHOD_6 ( anyString ( ) ) ; when ( IDENT_2 . METHOD_7 ( anyString ( ) , anyString ( ) , METHOD_8 ( ) ) ) . thenReturn ( session ) ; java . util . Properties config = new java . util . Properties ( ) ; config . put ( STRING_0 , STRING_1 ) ; com . IDENT_1 . IDENT_2 . IDENT_3 IDENT_5 = com . vmware . IDENT_6 . IDENT_7 . common . util . IDENT_8 . METHOD_9 ( STRING_2 , STRING_3 , STRING_4 , INT_0 , config ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( java . lang . String , java . lang . String , java . lang . String , int , java . util . Properties ) { com . IDENT_1 . IDENT_2 . IDENT_3 session = null ; if ( ( ( ( ( IDENT_9 != null ) && ( ! ( "" . equals ( IDENT_9 ) ) ) ) && ( IDENT_10 != null ) ) && ( IDENT_11 != null ) ) && ( ! ( "" . equals ( IDENT_11 ) ) ) ) { com . IDENT_1 . IDENT_2 . IDENT_4 IDENT_2 = new com . IDENT_1 . IDENT_2 . METHOD_10 ( ) ; try { if ( ( IDENT_12 != null ) && ( IDENT_13 . IDENT_14 . equals ( IDENT_12 . getProperty ( IDENT_13 . IDENT_15 ) ) ) ) { java . lang . String IDENT_16 = com . vmware . IDENT_6 . IDENT_7 . common . util . IDENT_17 . METHOD_11 ( ) ; java . io . File f = new java . io . File ( IDENT_16 ) ; if ( ( f . exists ( ) ) && ( ! ( f . METHOD_3 ( ) ) ) ) { IDENT_2 . METHOD_6 ( IDENT_16 ) ; } else { com . vmware . IDENT_6 . IDENT_7 . common . util . IDENT_8 . logger . debug ( STRING_5 , IDENT_16 ) ; throw new java . io . METHOD_12 ( ( ( STRING_6 + IDENT_16 ) + STRING_7 ) ) ; } } session = IDENT_2 . METHOD_7 ( IDENT_9 , IDENT_11 , port ) ; session . METHOD_13 ( IDENT_10 ) ; if ( IDENT_12 != null ) { session . METHOD_14 ( IDENT_12 ) ; } } catch ( java . lang . Exception e ) { com . vmware . IDENT_6 . IDENT_7 . common . util . IDENT_8 . logger . error ( STRING_8 , e ) ; } return session ; } return null ; }
org . junit . Assert . assertNotNull ( IDENT_5 )