METHOD_0 ( ) { com . IDENT_0 . service . IDENT_1 . source . IDENT_2 . IDENT_3 IDENT_4 = new com . IDENT_0 . service . IDENT_1 . source . IDENT_2 . METHOD_1 ( ) ; IDENT_4 . setName ( STRING_0 ) ; IDENT_4 . setId ( new com . IDENT_0 . service . IDENT_1 . IDENT_2 . METHOD_2 ( STRING_1 ) ) ; IDENT_4 . METHOD_3 ( "" ) ; com . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_5 IDENT_6 = new com . IDENT_0 . service . IDENT_1 . IDENT_2 . METHOD_4 ( ) ; IDENT_6 . METHOD_5 ( IDENT_4 ) ; IDENT_6 . METHOD_3 ( METHOD_4 . Type . IDENT_7 ) ; when ( IDENT_8 . METHOD_6 ( java . util . Collections . singletonList ( new com . IDENT_0 . service . IDENT_1 . METHOD_7 ( IDENT_4 . getName ( ) ) ) ) ) . thenReturn ( java . util . Collections . singletonList ( IDENT_6 ) ) ; com . IDENT_0 . exec . store . IDENT_9 . IDENT_10 IDENT_11 = mock ( com . IDENT_0 . exec . store . IDENT_9 . IDENT_10 . class ) ; when ( catalog . METHOD_8 ( IDENT_4 . getName ( ) ) ) . thenReturn ( IDENT_11 ) ; com . IDENT_0 . service . IDENT_1 . IDENT_12 . IDENT_2 . IDENT_13 IDENT_14 = new com . IDENT_0 . service . IDENT_1 . IDENT_12 . IDENT_2 . METHOD_9 ( ) ; IDENT_14 . setId ( new com . IDENT_0 . service . IDENT_1 . IDENT_2 . METHOD_2 ( STRING_2 ) ) ; IDENT_14 . setName ( STRING_3 ) ; IDENT_14 . METHOD_10 ( java . util . Arrays . asList ( IDENT_4 . getName ( ) , IDENT_14 . getName ( ) ) ) ; com . IDENT_0 . service . IDENT_1 . IDENT_2 . METHOD_4 IDENT_15 = new com . IDENT_0 . service . IDENT_1 . IDENT_2 . METHOD_4 ( ) ; IDENT_15 . METHOD_11 ( IDENT_14 ) ; IDENT_15 . METHOD_3 ( METHOD_4 . Type . IDENT_16 ) ; com . IDENT_0 . service . IDENT_1 . IDENT_12 . IDENT_2 . METHOD_9 IDENT_17 = new com . IDENT_0 . service . IDENT_1 . IDENT_12 . IDENT_2 . METHOD_9 ( ) ; IDENT_17 . setId ( new com . IDENT_0 . service . IDENT_1 . IDENT_2 . METHOD_2 ( STRING_4 ) ) ; IDENT_17 . setName ( STRING_5 ) ; IDENT_17 . METHOD_10 ( java . util . Arrays . asList ( IDENT_4 . getName ( ) , IDENT_17 . getName ( ) ) ) ; IDENT_15 = new com . IDENT_0 . service . IDENT_1 . IDENT_2 . METHOD_4 ( ) ; IDENT_15 . METHOD_11 ( IDENT_17 ) ; IDENT_15 . METHOD_3 ( METHOD_4 . Type . IDENT_16 ) ; com . IDENT_0 . exec . store . IDENT_18 IDENT_19 = new com . IDENT_0 . exec . store . METHOD_12 ( com . IDENT_0 . common . utils . IDENT_20 . METHOD_13 ( IDENT_14 . METHOD_14 ( ) ) , METHOD_12 . IDENT_21 . IDENT_16 , STRING_6 ) ; com . IDENT_0 . exec . store . METHOD_12 IDENT_22 = new com . IDENT_0 . exec . store . METHOD_12 ( com . IDENT_0 . common . utils . IDENT_20 . METHOD_13 ( IDENT_17 . METHOD_14 ( ) ) , METHOD_12 . IDENT_21 . IDENT_16 , STRING_6 ) ; when ( IDENT_11 . list ( eq ( java . util . Arrays . asList ( IDENT_4 . getName ( ) ) ) , any ( java . lang . String . class ) ) ) . thenReturn ( java . util . Arrays . asList ( IDENT_19 , IDENT_22 ) ) ; java . util . List < com . IDENT_0 . IDENT_23 . api . IDENT_24 > IDENT_25 = IDENT_26 . METHOD_15 ( new com . IDENT_0 . service . IDENT_1 . METHOD_7 ( IDENT_4 . getName ( ) ) ) ; "<AssertPlaceHolder>" ; } size ( ) { return ( end ) - ( start ) ; }
org . junit . Assert . assertEquals ( IDENT_25 . size ( ) , 2 )