METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_3 IDENT_4 = mock ( com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_3 . class ) ; java . lang . String host = STRING_0 ; int port = INT_0 ; int IDENT_5 = INT_1 ; com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_6 . METHOD_1 ( IDENT_4 , host , port , IDENT_5 ) ; "<AssertPlaceHolder>" ; } getInstance ( java . lang . String , int , int ) { java . lang . StringBuilder sb = new java . lang . StringBuilder ( ) ; sb . append ( host ) . append ( STRING_1 ) . append ( port ) . append ( STRING_1 ) . append ( IDENT_5 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_3 client = com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_6 . IDENT_7 . get ( sb . toString ( ) ) ; if ( client == null ) { client = new com . IDENT_0 . IDENT_1 . IDENT_2 . client . METHOD_2 ( host , port , IDENT_5 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . client . METHOD_2 . IDENT_7 . put ( sb . toString ( ) , client ) ; } return client ; }
org . junit . Assert . assertEquals ( IDENT_4 , com . IDENT_0 . IDENT_1 . IDENT_2 . client . METHOD_2 . getInstance ( host , port , IDENT_5 ) )