METHOD_0 ( ) { org . IDENT_0 . manager . IDENT_1 IDENT_2 = mock ( org . IDENT_0 . manager . IDENT_1 . class ) ; org . IDENT_0 . IDENT_3 cache = mock ( org . IDENT_0 . IDENT_3 . class ) ; when ( IDENT_2 . METHOD_1 ( ) ) . thenReturn ( cache ) ; com . IDENT_4 . IDENT_5 . IDENT_0 . IDENT_6 . getInstance ( ) . METHOD_2 ( IDENT_2 , "a" ) ; com . IDENT_4 . IDENT_5 . IDENT_0 . IDENT_7 configuration = com . IDENT_4 . IDENT_5 . IDENT_0 . IDENT_8 . METHOD_3 ( ) . build ( ) ; "<AssertPlaceHolder>" ; com . IDENT_4 . IDENT_5 . IDENT_0 . IDENT_6 . getInstance ( ) . METHOD_4 ( "a" ) ; } METHOD_1 ( ) { return cache ; }
org . junit . Assert . assertThat ( cache , org . hamcrest . CoreMatchers . is ( ( ( org . IDENT_0 . IDENT_3 ) ( configuration . METHOD_1 ( ) ) ) ) )