METHOD_0 ( ) { com . google . IDENT_0 . IDENT_1 logger = org . IDENT_2 . IDENT_3 . METHOD_1 ( IDENT_4 :: IDENT_5 , org . METHOD_1 . IDENT_6 . METHOD_2 ( ) ) . as ( com . google . IDENT_0 . IDENT_1 . class ) ; com . google . IDENT_0 . IDENT_1 IDENT_7 = new com . google . IDENT_0 . METHOD_3 ( ) { @ org . METHOD_1 . tests . Override MOD_0 void METHOD_4 ( ) { METHOD_5 ( logger ) ; } } ; com . google . IDENT_0 . IDENT_8 IDENT_9 = com . google . IDENT_0 . IDENT_10 . METHOD_6 ( IDENT_7 ) ; org . METHOD_1 . tests . IDENT_11 . IDENT_12 service = IDENT_9 . getInstance ( org . METHOD_1 . tests . IDENT_11 . IDENT_12 . class ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { com . google . IDENT_0 . spi . IDENT_13 IDENT_14 = new com . google . IDENT_0 . spi . METHOD_7 ( ) { @ org . METHOD_1 . Override public < IDENT_15 > void METHOD_8 ( org . METHOD_1 . IDENT_16 < IDENT_15 > IDENT_17 ) { com . google . IDENT_0 . IDENT_18 < IDENT_15 > binding = IDENT_17 . METHOD_9 ( ) ; if ( IDENT_19 . equals ( binding . getKey ( ) . METHOD_10 ( ) ) ) { com . google . IDENT_0 . spi . IDENT_20 < ? > IDENT_21 ; java . util . stream . IDENT_22 < com . google . IDENT_0 . spi . IDENT_20 < ? > > stream ; stream = IDENT_17 . METHOD_11 ( ) . stream ( ) . map ( IDENT_23 :: IDENT_24 ) ; java . util . Iterator < com . google . IDENT_0 . spi . IDENT_20 < ? > > IDENT_25 = METHOD_12 ( stream . collect ( toList ( ) ) ) . iterator ( ) ; if ( ( IDENT_25 . hasNext ( ) ) && ( IDENT_26 . test ( ( IDENT_21 = IDENT_25 . next ( ) ) ) ) ) { com . google . IDENT_0 . spi . IDENT_27 IDENT_28 = IDENT_21 . METHOD_13 ( ) ; com . google . IDENT_0 . IDENT_29 < ? > IDENT_30 = IDENT_28 . METHOD_14 ( ) ; com . google . IDENT_0 . IDENT_29 < ? > IDENT_31 = null ; if ( IDENT_25 . hasNext ( ) ) { com . google . IDENT_0 . IDENT_29 < ? > IDENT_32 = IDENT_25 . next ( ) . getKey ( ) . METHOD_10 ( ) ; if ( IDENT_30 . METHOD_15 ( ) . METHOD_16 ( IDENT_32 . METHOD_15 ( ) ) ) { IDENT_31 = IDENT_32 ; } } java . lang . Class < ? > logger = ( IDENT_31 != null ? IDENT_31 : IDENT_30 ) . METHOD_15 ( ) ; com . google . IDENT_0 . spi . IDENT_33 < IDENT_15 , java . lang . IDENT_34 > IDENT_35 ; IDENT_35 = new com . google . IDENT_0 . spi . IDENT_36 < IDENT_15 , java . lang . IDENT_34 > ( ) { @ org . METHOD_1 . Override public org . METHOD_1 . IDENT_34 METHOD_17 ( com . google . IDENT_0 . spi . IDENT_37 < ? extends IDENT_15 > IDENT_38 ) { if ( provider . equals ( IDENT_38 . METHOD_18 ( ) ) ) { provider . METHOD_19 ( IDENT_39 . METHOD_20 ( logger ) ) ; } return null ; } } ; binding . METHOD_21 ( IDENT_35 ) ; } } } } ; METHOD_22 ( IDENT_40 ) . METHOD_23 ( provider ) ; METHOD_24 ( com . google . IDENT_0 . matcher . Matchers . any ( ) , IDENT_14 ) ; }
org . junit . Assert . assertEquals ( org . METHOD_1 . tests . IDENT_11 . IDENT_12 . class . getName ( ) , service . logger . getName ( ) )