METHOD_0 ( ) { final com . google . common . collect . ImmutableMap < com . spotify . IDENT_0 . common . IDENT_1 . IDENT_2 , com . spotify . IDENT_0 . common . IDENT_1 . IDENT_3 > IDENT_4 = com . google . common . collect . ImmutableMap . of ( com . spotify . IDENT_0 . common . IDENT_1 . IDENT_2 . parse ( STRING_0 ) , com . spotify . IDENT_0 . common . IDENT_1 . IDENT_3 . METHOD_1 ( ) . build ( ) , com . spotify . IDENT_0 . common . IDENT_1 . IDENT_2 . parse ( STRING_1 ) , com . spotify . IDENT_0 . common . IDENT_1 . IDENT_3 . METHOD_1 ( ) . build ( ) , com . spotify . IDENT_0 . common . IDENT_1 . IDENT_2 . parse ( STRING_2 ) , com . spotify . IDENT_0 . common . IDENT_1 . IDENT_3 . METHOD_1 ( ) . build ( ) ) ; when ( model . METHOD_2 ( ) ) . thenReturn ( IDENT_4 ) ; "<AssertPlaceHolder>" ; } list ( java . lang . String , java . lang . String ) { final java . util . Map < com . spotify . IDENT_0 . common . IDENT_1 . IDENT_2 , com . spotify . IDENT_0 . common . IDENT_1 . IDENT_3 > IDENT_5 ; if ( ! ( IDENT_6 . isEmpty ( ) ) ) { IDENT_5 = model . METHOD_3 ( IDENT_6 ) . stream ( ) . map ( model :: IDENT_7 ) . METHOD_4 ( ( IDENT_8 ) -> IDENT_8 . METHOD_2 ( ) . METHOD_5 ( ) . stream ( ) ) . METHOD_6 ( ) . collect ( java . util . stream . IDENT_9 . METHOD_7 ( java . util . function . IDENT_10 . METHOD_8 ( ) , model :: IDENT_11 ) ) ; } else { IDENT_5 = model . METHOD_2 ( ) ; } if ( query . isEmpty ( ) ) { metrics . METHOD_9 ( IDENT_5 . size ( ) ) ; return IDENT_5 ; } final java . util . Map < com . spotify . IDENT_0 . common . IDENT_1 . IDENT_2 , com . spotify . IDENT_0 . common . IDENT_1 . IDENT_3 > IDENT_12 = com . google . common . collect . IDENT_13 . METHOD_10 ( ) ; for ( final Map . Entry < com . spotify . IDENT_0 . common . IDENT_1 . IDENT_2 , com . spotify . IDENT_0 . common . IDENT_1 . IDENT_3 > entry : IDENT_5 . entrySet ( ) ) { if ( entry . getKey ( ) . toString ( ) . contains ( query ) ) { IDENT_12 . put ( entry . getKey ( ) , entry . getValue ( ) ) ; } } metrics . METHOD_9 ( IDENT_12 . size ( ) ) ; return IDENT_12 ; }
org . junit . Assert . assertThat ( resource . list ( "" , "" ) , org . hamcrest . Matchers . is ( IDENT_4 ) )