METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( ) { com . orientechnologies . orient . object . db . IDENT_0 db = IDENT_1 . db ( ) ; com . orientechnologies . orient . core . sql . query . IDENT_2 < com . orientechnologies . orient . core . record . impl . IDENT_3 > q = new com . orientechnologies . orient . core . sql . query . IDENT_2 < com . orientechnologies . orient . core . record . impl . IDENT_3 > ( STRING_0 ) ; java . util . List < com . orientechnologies . orient . core . record . impl . IDENT_3 > results = db . query ( q ) ; assert ( results . size ( ) ) == 1 ; return results . get ( 0 ) . field ( STRING_1 ) ; }
org . junit . Assert . assertThat ( service . METHOD_1 ( ) , org . hamcrest . CoreMatchers . is ( 1L ) )