METHOD_0 ( ) { final java . util . List < com . IDENT_0 . IDENT_1 . core . request . IDENT_2 . IDENT_3 > expected = com . google . common . collect . ImmutableList . of ( com . IDENT_0 . IDENT_1 . core . request . IDENT_2 . IDENT_4 . METHOD_1 ( STRING_0 ) , com . IDENT_0 . IDENT_1 . core . request . IDENT_2 . IDENT_4 . METHOD_1 ( STRING_1 ) ) ; final java . util . List < com . IDENT_0 . IDENT_1 . core . request . IDENT_2 . IDENT_3 > actual = com . IDENT_0 . IDENT_1 . core . request . IDENT_5 . parse ( STRING_2 ) ; "<AssertPlaceHolder>" ; } parse ( java . lang . String ) { return com . IDENT_0 . IDENT_1 . core . request . IDENT_5 . IDENT_6 . METHOD_2 ( IDENT_7 ) . stream ( ) . map ( ( IDENT_8 ) -> { final int IDENT_9 = IDENT_8 . indexOf ( com . IDENT_0 . IDENT_1 . core . request . IDENT_5 . IDENT_10 ) ; final java . lang . String field ; if ( IDENT_9 > 0 ) { field = IDENT_8 . substring ( 0 , IDENT_9 ) ; } else { field = IDENT_8 ; } if ( ! ( com . IDENT_0 . IDENT_1 . core . request . IDENT_5 . IDENT_11 . matcher ( field ) . matches ( ) ) ) { throw new java . lang . IllegalArgumentException ( ( ( STRING_3 + field ) + STRING_4 ) ) ; } final boolean METHOD_1 ; if ( IDENT_9 > 0 ) { final java . lang . String order = IDENT_8 . substring ( ( IDENT_9 + 1 ) ) ; switch ( order ) { case STRING_5 : METHOD_1 = true ; break ; case STRING_6 : METHOD_1 = false ; break ; default : throw new java . lang . IllegalArgumentException ( ( ( STRING_7 + order ) + STRING_8 ) ) ; } } else { METHOD_1 = true ; } if ( METHOD_1 ) { return IDENT_2 . IDENT_4 . METHOD_1 ( field ) ; } else { return IDENT_2 . IDENT_4 . METHOD_3 ( field ) ; } } ) . collect ( java . util . stream . IDENT_12 . toList ( ) ) ; }
org . junit . Assert . assertEquals ( expected , actual )