METHOD_0 ( ) { com . github . IDENT_0 . metrics . IDENT_1 expected = registry . METHOD_1 ( "foo" , null ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String , java . util . Map ) { final com . IDENT_2 . metrics . IDENT_3 . Context context = IDENT_4 . time ( ) ; for ( Map . Entry < java . lang . String , com . IDENT_2 . metrics . IDENT_5 > entry : METHOD_3 ( ) . entrySet ( ) ) { if ( ! ( ( entry . getValue ( ) ) instanceof com . github . IDENT_0 . metrics . IDENT_6 ) ) { continue ; } if ( ! ( com . github . IDENT_0 . metrics . IDENT_7 . METHOD_4 ( entry . getKey ( ) ) . equals ( name ) ) ) { continue ; } com . github . IDENT_0 . metrics . IDENT_6 IDENT_8 = ( ( com . github . IDENT_0 . metrics . IDENT_6 ) ( entry . getValue ( ) ) ) ; boolean found = true ; if ( IDENT_9 != null ) { for ( Map . Entry < java . lang . String , java . lang . String > IDENT_10 : IDENT_9 . entrySet ( ) ) { if ( ! ( IDENT_8 . METHOD_5 ( ) . entrySet ( ) . contains ( IDENT_10 ) ) ) { found = false ; break ; } } if ( found ) { context . METHOD_6 ( ) ; return IDENT_8 ; } } else if ( ( IDENT_8 . METHOD_5 ( ) ) == null ) { context . METHOD_6 ( ) ; return IDENT_8 ; } } context . METHOD_6 ( ) ; return null ; }
org . junit . Assert . assertEquals ( expected , registry . METHOD_2 ( "foo" , null ) )