METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . onosproject . net . IDENT_1 IDENT_2 = METHOD_1 ( IDENT_0 ) ; org . onosproject . net . IDENT_3 device = device ( IDENT_0 ) ; expect ( IDENT_4 . METHOD_2 ( IDENT_2 ) ) . andReturn ( device ) . METHOD_3 ( ) ; replay ( IDENT_4 ) ; expect ( IDENT_5 . METHOD_4 ( IDENT_2 ) ) . andReturn ( driver ) . METHOD_5 ( ) ; replay ( IDENT_5 ) ; javax . ws . rs . client . IDENT_6 IDENT_7 = target ( ) ; java . lang . String response = IDENT_7 . path ( ( STRING_1 + IDENT_2 ) ) . request ( ) . get ( java . lang . String . class ) ; com . eclipsesource . json . IDENT_8 result = com . eclipsesource . json . IDENT_9 . parse ( response ) . METHOD_6 ( ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( org . onosproject . net . IDENT_3 ) { return new org . onosproject . rest . resources . IDENT_10 . METHOD_8 ( device ) ; }
org . junit . Assert . assertThat ( result , org . onosproject . rest . resources . IDENT_10 . METHOD_7 ( device ) )