METHOD_0 ( ) { java . util . Set < com . IDENT_0 . IDENT_1 . types . IDENT_2 > expected = new java . util . HashSet < com . IDENT_0 . IDENT_1 . types . IDENT_2 > ( IDENT_3 ) ; when ( IDENT_4 . METHOD_1 ( IDENT_5 ) ) . thenReturn ( IDENT_3 ) ; java . util . Set < com . IDENT_0 . IDENT_1 . types . IDENT_2 > actual = IDENT_6 . METHOD_1 ( IDENT_7 ) ; verify ( IDENT_4 , times ( 1 ) ) . METHOD_1 ( IDENT_5 ) ; METHOD_2 ( IDENT_4 ) ; METHOD_3 ( IDENT_7 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( long ) { com . IDENT_8 . metrics . IDENT_9 . Context ctx = com . IDENT_0 . IDENT_1 . io . IDENT_10 . METHOD_4 ( IDENT_11 . IDENT_12 ) ; try { com . IDENT_13 . IDENT_14 . query . IDENT_15 < java . lang . Long , com . IDENT_0 . IDENT_1 . types . IDENT_2 > query = com . IDENT_0 . IDENT_1 . io . IDENT_14 . IDENT_16 . METHOD_5 ( ) . METHOD_6 ( IDENT_11 . IDENT_17 ) . getKey ( IDENT_18 ) ; if ( com . IDENT_0 . IDENT_1 . io . IDENT_14 . IDENT_19 . LOG . METHOD_7 ( ) ) com . IDENT_0 . IDENT_1 . io . IDENT_14 . IDENT_19 . LOG . trace ( ( ( ( ( ( STRING_0 + ( com . IDENT_0 . IDENT_1 . io . IDENT_11 . IDENT_20 ) ) + STRING_1 ) + ( com . IDENT_0 . IDENT_1 . io . IDENT_11 . IDENT_12 ) ) + STRING_2 ) + ( java . lang . Long . toString ( IDENT_18 ) ) ) ) ; return query . execute ( ) . METHOD_8 ( ) . METHOD_9 ( ) ; } catch ( com . IDENT_13 . IDENT_14 . IDENT_21 . exceptions . IDENT_22 e ) { com . IDENT_0 . IDENT_1 . io . IDENT_10 . METHOD_10 ( IDENT_11 . IDENT_12 ) ; return java . util . Collections . METHOD_11 ( ) ; } catch ( com . IDENT_13 . IDENT_14 . IDENT_21 . exceptions . IDENT_23 ex ) { com . IDENT_0 . IDENT_1 . io . IDENT_10 . METHOD_12 ( ex ) ; com . IDENT_0 . IDENT_1 . io . IDENT_14 . IDENT_19 . LOG . error ( ( ( STRING_3 + ( java . lang . Long . toString ( IDENT_18 ) ) ) + STRING_4 ) , ex ) ; throw new java . io . IOException ( STRING_5 , ex ) ; } finally { ctx . METHOD_13 ( ) ; } }
org . junit . Assert . assertEquals ( expected , actual )