METHOD_0 ( ) { org . apache . IDENT_0 . cache . query . internal . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . cache . query . internal . IDENT_1 . class , STRING_0 ) ; java . util . List < java . lang . String > IDENT_3 = java . util . Arrays . asList ( "a" , "b" , STRING_1 ) ; org . mockito . Mockito . when ( IDENT_2 . asList ( ) ) . thenReturn ( IDENT_3 ) ; java . util . Collection < ? > IDENT_4 = IDENT_5 . METHOD_1 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . Object ) { if ( source instanceof org . apache . IDENT_0 . cache . query . IDENT_6 ) { return ( ( org . apache . IDENT_0 . cache . query . IDENT_6 ) ( source ) ) . asList ( ) ; } if ( source instanceof java . util . Collection ) { return ( ( java . util . Collection < ? > ) ( source ) ) ; } if ( source == null ) { return java . util . Collections . emptyList ( ) ; } return source . getClass ( ) . METHOD_2 ( ) ? org . springframework . util . IDENT_7 . METHOD_3 ( source ) : java . util . Collections . singletonList ( source ) ; }
org . junit . Assert . assertSame ( IDENT_3 , IDENT_4 )