METHOD_0 ( ) { org . eclipse . IDENT_0 . IDENT_1 . resource . IDENT_2 other = METHOD_1 ( ) . METHOD_2 ( new org . eclipse . IDENT_0 . IDENT_1 . resource . impl . METHOD_3 ( ) ) ; org . eclipse . IDENT_0 . IDENT_1 . resource . IDENT_3 resource = METHOD_4 ( other ) . METHOD_5 ( METHOD_6 ( STRING_0 ) ) ; org . eclipse . IDENT_4 . IDENT_5 . IDENT_6 model = IDENT_7 . IDENT_8 . METHOD_7 ( ) ; model . setName ( "test" ) ; resource . METHOD_8 ( ) . add ( model ) ; METHOD_1 ( ) . commit ( other ) ; org . eclipse . IDENT_0 . common . util . URI uri = org . eclipse . IDENT_0 . IDENT_1 . util . IDENT_9 . METHOD_9 ( model ) ; METHOD_1 ( ) . close ( other ) ; org . eclipse . IDENT_0 . IDENT_1 . IDENT_10 IDENT_11 = fixture . METHOD_0 ( uri , true ) ; model = METHOD_10 ( IDENT_11 , org . eclipse . IDENT_4 . IDENT_5 . IDENT_6 . class ) ; "<AssertPlaceHolder>" ; } getName ( ) { return IDENT_12 . getName ( ) ; }
org . junit . Assert . assertThat ( model . getName ( ) , org . hamcrest . CoreMatchers . equalTo ( "test" ) )