METHOD_0 ( ) { java . lang . String user = STRING_0 ; java . util . List < java . lang . String > IDENT_0 = com . google . common . collect . Lists . newArrayList ( ) ; when ( IDENT_1 . METHOD_1 ( user , IDENT_0 ) ) . thenReturn ( com . google . common . collect . Lists . newArrayList ( STRING_1 ) ) ; when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( IDENT_3 ) ; when ( IDENT_3 . METHOD_1 ( user , IDENT_0 ) ) . thenReturn ( com . google . common . collect . Lists . newArrayList ( STRING_1 , STRING_2 ) ) ; com . IDENT_4 . IDENT_5 . IDENT_6 . mapping . service . IDENT_7 handler = service . METHOD_3 ( ) ; java . util . List < com . IDENT_4 . IDENT_5 . IDENT_6 . mapping . model . IDENT_8 > IDENT_9 = service . METHOD_4 ( ) ; java . util . List < java . lang . String > result = handler . METHOD_5 ( user , IDENT_0 , IDENT_9 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { java . util . List < com . IDENT_4 . IDENT_5 . IDENT_6 . mapping . model . IDENT_8 > IDENT_9 = java . util . Arrays . asList ( IDENT_10 , IDENT_11 ) ; when ( IDENT_12 . METHOD_4 ( ) ) . thenReturn ( IDENT_9 ) ; org . junit . Assert . assertThat ( service . METHOD_4 ( ) , org . hamcrest . Matchers . is ( IDENT_9 ) ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( java . util . Arrays . asList ( STRING_1 , STRING_2 ) ) )