METHOD_0 ( ) { co . IDENT_0 . IDENT_1 . store . IDENT_2 . IDENT_3 service = METHOD_1 ( ) ; co . IDENT_0 . IDENT_1 . store . IDENT_2 . IDENT_4 view = service . METHOD_2 ( IDENT_5 , IDENT_6 ) ; co . IDENT_0 . IDENT_1 . IDENT_2 . plugin . IDENT_7 hadoop = new co . IDENT_0 . IDENT_1 . IDENT_2 . plugin . METHOD_3 ( STRING_0 , 1 , co . IDENT_0 . IDENT_1 . IDENT_2 . plugin . IDENT_8 . IDENT_9 ) ; view . add ( hadoop ) ; view . METHOD_4 ( hadoop . getName ( ) , ( ( hadoop . METHOD_5 ( ) ) + 1 ) ) ; "<AssertPlaceHolder>" ; } get ( java . lang . String , int ) { try { java . sql . IDENT_10 conn = IDENT_11 . METHOD_6 ( ) ; try { return METHOD_7 ( conn , name , version ) ; } finally { conn . close ( ) ; } } catch ( java . sql . IDENT_12 e ) { co . IDENT_0 . IDENT_1 . store . IDENT_2 . IDENT_13 . LOG . error ( STRING_1 , version , name , IDENT_14 , e ) ; throw new java . io . IOException ( e ) ; } }
org . junit . Assert . assertEquals ( IDENT_8 . IDENT_9 , view . get ( hadoop . getName ( ) , hadoop . METHOD_5 ( ) ) . getStatus ( ) )