METHOD_0 ( ) { org . apache . IDENT_0 . cache . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . cache . IDENT_1 . class ) ; org . springframework . context . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( org . springframework . context . IDENT_3 . class ) ; org . apache . IDENT_0 . IDENT_5 . IDENT_6 IDENT_7 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . IDENT_5 . IDENT_6 . class ) ; IDENT_8 . IDENT_9 = IDENT_4 ; org . mockito . Mockito . when ( IDENT_7 . METHOD_1 ( ) ) . thenReturn ( true ) ; org . mockito . Mockito . when ( IDENT_7 . METHOD_2 ( ) ) . thenReturn ( STRING_0 ) ; org . mockito . Mockito . when ( IDENT_7 . METHOD_3 ( ) ) . thenReturn ( STRING_1 ) ; org . mockito . Mockito . when ( IDENT_4 . METHOD_4 ( org . mockito . Matchers . eq ( org . apache . IDENT_0 . cache . IDENT_1 . class ) ) ) . thenReturn ( IDENT_2 ) ; final org . springframework . data . IDENT_10 . support . IDENT_8 IDENT_11 = org . mockito . Mockito . mock ( org . springframework . data . IDENT_10 . support . IDENT_8 . class ) ; org . springframework . data . IDENT_10 . support . IDENT_12 provider = new org . springframework . data . IDENT_10 . support . METHOD_5 ( ) { @ org . springframework . data . IDENT_10 . support . Override public org . springframework . data . IDENT_10 . support . IDENT_8 METHOD_6 ( ) { return IDENT_11 ; } } ; java . util . Properties IDENT_13 = METHOD_7 ( IDENT_8 . IDENT_14 , STRING_0 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_7 , org . mockito . Mockito . times ( 1 ) ) . METHOD_1 ( ) ; org . mockito . Mockito . verify ( IDENT_7 , org . mockito . Mockito . times ( 1 ) ) . METHOD_2 ( ) ; org . mockito . Mockito . verify ( IDENT_7 , org . mockito . Mockito . times ( 1 ) ) . METHOD_3 ( ) ; org . mockito . Mockito . verify ( IDENT_4 , org . mockito . Mockito . times ( 1 ) ) . METHOD_4 ( org . mockito . Matchers . eq ( org . apache . IDENT_0 . cache . IDENT_1 . class ) ) ; org . mockito . Mockito . verify ( IDENT_11 ) . init ( org . mockito . Matchers . eq ( IDENT_13 ) ) ; } METHOD_8 ( java . util . Properties , org . apache . IDENT_0 . IDENT_5 . IDENT_6 ) { org . apache . IDENT_0 . cache . IDENT_1 cache = null ; if ( IDENT_15 . METHOD_1 ( ) ) { java . lang . System . setProperty ( METHOD_9 ( ) , IDENT_15 . METHOD_3 ( ) ) ; METHOD_6 ( ) . init ( METHOD_10 ( IDENT_15 ) ) ; cache = org . springframework . data . IDENT_10 . support . IDENT_8 . METHOD_11 ( ) . METHOD_4 ( org . apache . IDENT_0 . cache . IDENT_1 . class ) ; } return cache ; }
org . junit . Assert . assertThat ( provider . METHOD_8 ( null , IDENT_7 ) , org . hamcrest . Matchers . is ( org . hamcrest . Matchers . equalTo ( IDENT_2 ) ) )