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