METHOD_0 ( ) { doReturn ( IDENT_0 ) . when ( metrics ) . METHOD_1 ( id , IDENT_1 ) ; METHOD_2 ( ) . when ( registry ) . METHOD_3 ( id , IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( registry , METHOD_4 ( ) ) . METHOD_3 ( id , IDENT_1 ) ; verify ( metrics ) . METHOD_1 ( id , IDENT_1 ) ; } METHOD_5 ( com . spotify . metrics . core . IDENT_2 , com . IDENT_3 . metrics . IDENT_4 ) { final com . IDENT_3 . metrics . IDENT_4 IDENT_5 = metrics . METHOD_1 ( name , IDENT_1 ) ; if ( IDENT_5 == null ) { METHOD_3 ( name , IDENT_1 ) ; return null ; } return IDENT_5 ; }
org . junit . Assert . assertEquals ( IDENT_0 , registry . METHOD_5 ( id , IDENT_1 ) )