METHOD_0 ( ) { org . IDENT_0 . database . connection . IDENT_1 IDENT_2 = mock ( org . IDENT_0 . database . connection . IDENT_1 . class ) ; org . IDENT_0 . database . connection . IDENT_1 IDENT_3 = new org . IDENT_0 . database . connection . METHOD_1 ( ) ; IDENT_4 . add ( IDENT_2 ) ; IDENT_4 . add ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { try { for ( org . IDENT_0 . database . connection . IDENT_1 reader : IDENT_5 ) { java . io . InputStream stream = getClass ( ) . getResourceAsStream ( ( "/" + ( reader . METHOD_3 ( ) ) ) ) ; if ( stream != null ) { java . util . Properties properties = new java . util . Properties ( ) ; properties . load ( stream ) ; reader . read ( properties ) ; stream . close ( ) ; return reader ; } } } catch ( java . io . IOException e ) { throw new org . IDENT_0 . exception . METHOD_4 ( e . getMessage ( ) , e ) ; } throw new org . IDENT_0 . exception . METHOD_4 ( STRING_0 ) ; }
org . junit . Assert . assertSame ( IDENT_3 , factory . METHOD_2 ( ) )