METHOD_0 ( ) { when ( registry . METHOD_1 ( anyString ( ) ) ) . thenReturn ( IDENT_0 . Result . METHOD_2 ( ) ) ; final com . spotify . IDENT_1 . IDENT_2 . metrics . IDENT_3 IDENT_4 = new com . spotify . IDENT_1 . IDENT_2 . metrics . METHOD_3 ( registry , "foo" ) ; "<AssertPlaceHolder>" ; } getValue ( ) { final com . IDENT_5 . metrics . IDENT_6 . IDENT_0 . Result result = registry . METHOD_1 ( name ) ; return result . METHOD_4 ( ) ? 1 : 0 ; }
org . junit . Assert . assertThat ( IDENT_4 . getValue ( ) , org . hamcrest . CoreMatchers . equalTo ( 1 ) )