METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . domain . IDENT_2 expected = new com . IDENT_0 . IDENT_1 . domain . IDENT_2 . Builder ( ) . build ( ) ; when ( cache . get ( eq ( com . IDENT_0 . IDENT_1 . IDENT_3 . IDENT_4 ) , com . IDENT_0 . IDENT_1 . IDENT_3 . METHOD_1 ( com . IDENT_0 . IDENT_1 . domain . IDENT_2 . class ) ) ) . thenReturn ( expected ) ; com . IDENT_0 . IDENT_1 . domain . IDENT_2 result = loader . load ( com . IDENT_0 . IDENT_1 . IDENT_3 . IDENT_4 ) ; "<AssertPlaceHolder>" ; } load ( java . net . URI ) { METHOD_2 ( IDENT_5 , STRING_0 ) ; return cache . get ( IDENT_5 , new java . util . concurrent . IDENT_6 < com . IDENT_0 . IDENT_1 . domain . IDENT_2 > ( ) { @ com . IDENT_0 . IDENT_1 . Override public com . IDENT_0 . IDENT_1 . domain . IDENT_2 call ( ) throws com . IDENT_0 . IDENT_1 . Exception { return delegate . load ( IDENT_5 ) ; } } ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . Matchers . equalTo ( expected ) )