METHOD_0 ( ) { logger . warn ( STRING_0 ) ; uk . ac . IDENT_0 . IDENT_1 . data . domain . IDENT_2 IDENT_3 = new uk . ac . IDENT_0 . IDENT_1 . data . domain . METHOD_1 ( java . math . BigDecimal . IDENT_4 ) ; IDENT_3 . METHOD_2 ( STRING_1 ) ; IDENT_3 . METHOD_3 ( STRING_2 ) ; uk . ac . IDENT_0 . IDENT_1 . data . domain . METHOD_1 IDENT_5 = new uk . ac . IDENT_0 . IDENT_1 . data . domain . METHOD_1 ( java . math . BigDecimal . IDENT_6 ) ; IDENT_5 . METHOD_2 ( STRING_3 ) ; IDENT_5 . METHOD_3 ( STRING_4 ) ; java . util . List < uk . ac . IDENT_0 . IDENT_1 . data . domain . METHOD_1 > IDENT_7 = new java . util . ArrayList ( ) ; IDENT_7 . add ( IDENT_3 ) ; java . util . List < uk . ac . IDENT_0 . IDENT_1 . data . domain . METHOD_1 > IDENT_8 = new java . util . ArrayList ( ) ; IDENT_8 . add ( IDENT_5 ) ; java . lang . Boolean IDENT_9 = true ; java . util . List < uk . ac . IDENT_0 . IDENT_1 . data . domain . METHOD_1 > expResult = new java . util . ArrayList ( ) ; expResult . add ( IDENT_3 ) ; expResult . add ( IDENT_5 ) ; java . util . List < uk . ac . IDENT_0 . IDENT_1 . data . domain . METHOD_1 > result = instance . METHOD_4 ( IDENT_7 , IDENT_8 , IDENT_9 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . util . List , java . util . List , java . lang . Boolean ) { java . util . List < uk . ac . IDENT_0 . IDENT_1 . data . domain . METHOD_1 > data = new java . util . concurrent . METHOD_5 ( ) ; data . addAll ( IDENT_7 ) ; data . addAll ( IDENT_8 ) ; if ( ! IDENT_9 ) { return data . stream ( ) . METHOD_6 ( ) . collect ( java . util . stream . IDENT_10 . toList ( ) ) ; } return data ; }
org . junit . Assert . assertEquals ( expResult , result )