METHOD_0 ( ) { java . lang . String table = STRING_0 ; java . util . Properties properties = mock ( java . util . Properties . class ) ; com . pentaho . IDENT_0 . data . IDENT_1 . impl . IDENT_2 . hbase . IDENT_3 . IDENT_4 IDENT_5 = IDENT_6 . METHOD_1 ( table , properties ) ; com . pentaho . IDENT_0 . data . IDENT_1 . impl . IDENT_2 . hbase . IDENT_7 connection = IDENT_5 . METHOD_2 ( ) ; IDENT_5 . close ( ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . util . Properties ) { com . pentaho . IDENT_0 . data . IDENT_1 . impl . IDENT_2 . hbase . IDENT_3 . IDENT_8 result = METHOD_3 ( IDENT_9 , IDENT_10 ) ; if ( result != null ) { IDENT_11 . remove ( result ) ; } else { result = create ( ) ; } boolean IDENT_12 = ( IDENT_9 != null ) && ( ! ( IDENT_9 . equals ( result . METHOD_4 ( ) ) ) ) ; boolean IDENT_13 = false ; java . util . Properties IDENT_14 = result . METHOD_5 ( ) ; if ( IDENT_10 == null ) { IDENT_13 = IDENT_14 != null ; } else { IDENT_13 = IDENT_10 . equals ( IDENT_14 ) ; } if ( IDENT_12 || IDENT_13 ) { try { result . METHOD_6 ( IDENT_9 , IDENT_10 ) ; } catch ( java . lang . Exception e ) { throw new java . io . IOException ( e ) ; } } IDENT_15 . add ( result ) ; return new com . pentaho . IDENT_0 . data . IDENT_1 . impl . IDENT_2 . hbase . IDENT_3 . METHOD_7 ( this , result ) ; }
org . junit . Assert . assertEquals ( connection , IDENT_6 . METHOD_1 ( table , null ) . METHOD_2 ( ) )