METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . domain . service . IDENT_2 . IDENT_3 IDENT_4 = new org . IDENT_0 . IDENT_1 . domain . service . IDENT_2 . METHOD_1 ( ) ; IDENT_4 . METHOD_2 ( INT_0 ) ; IDENT_4 . METHOD_3 ( 1 ) ; IDENT_4 . METHOD_4 ( 2 ) ; when ( IDENT_5 . METHOD_5 ( INT_1 , 1 , 2 ) ) . thenReturn ( IDENT_4 ) ; org . IDENT_0 . IDENT_1 . domain . service . IDENT_6 . IDENT_7 input = new org . IDENT_0 . IDENT_1 . domain . service . IDENT_6 . METHOD_6 ( ) ; input . METHOD_7 ( "foo" ) ; input . METHOD_3 ( 1 ) ; input . METHOD_4 ( 2 ) ; org . IDENT_0 . IDENT_1 . domain . model . IDENT_8 IDENT_6 = new org . IDENT_0 . IDENT_1 . domain . model . METHOD_8 ( ) ; org . IDENT_0 . IDENT_1 . domain . model . IDENT_9 IDENT_10 = new org . IDENT_0 . IDENT_1 . domain . model . METHOD_9 ( STRING_0 ) ; IDENT_10 . METHOD_10 ( new org . IDENT_0 . IDENT_1 . domain . model . METHOD_11 ( ) ) ; IDENT_10 . METHOD_12 ( new org . IDENT_0 . IDENT_1 . domain . model . METHOD_13 ( ) ) ; IDENT_10 . METHOD_14 ( INT_1 ) ; IDENT_6 . METHOD_15 ( IDENT_10 ) ; when ( IDENT_11 . METHOD_16 ( "foo" ) ) . thenReturn ( java . util . Optional . of ( IDENT_6 ) ) ; when ( IDENT_11 . METHOD_17 ( "foo" ) ) . thenReturn ( IDENT_6 ) ; when ( IDENT_11 . save ( IDENT_6 ) ) . thenReturn ( IDENT_6 ) ; org . IDENT_0 . IDENT_1 . domain . service . IDENT_6 . IDENT_12 output = IDENT_13 . update ( input ) ; "<AssertPlaceHolder>" ; } update ( org . IDENT_0 . IDENT_1 . domain . service . IDENT_6 . METHOD_6 ) { org . IDENT_0 . IDENT_1 . domain . model . METHOD_8 IDENT_6 = METHOD_18 ( input . METHOD_19 ( ) ) ; IDENT_14 . map ( input , IDENT_6 , STRING_1 ) ; org . IDENT_0 . IDENT_1 . domain . model . METHOD_9 info = IDENT_6 . METHOD_20 ( ) ; org . IDENT_0 . IDENT_1 . domain . service . IDENT_2 . METHOD_1 IDENT_15 = IDENT_16 . METHOD_5 ( info . METHOD_21 ( ) , input . METHOD_22 ( ) , input . METHOD_23 ( ) ) ; IDENT_6 . METHOD_2 ( IDENT_15 . METHOD_24 ( ) ) ; IDENT_11 . save ( IDENT_6 ) ; org . IDENT_0 . IDENT_1 . domain . service . IDENT_6 . IDENT_12 output = new org . IDENT_0 . IDENT_1 . domain . service . IDENT_6 . METHOD_25 ( ) ; output . METHOD_26 ( IDENT_6 ) ; output . METHOD_27 ( IDENT_15 ) ; output . METHOD_28 ( info . METHOD_29 ( ) . METHOD_30 ( ) ) ; info . METHOD_31 ( ) . METHOD_32 ( ) ; info . METHOD_33 ( ) . METHOD_34 ( ) ; return output ; }
org . junit . Assert . assertThat ( output , org . hamcrest . CoreMatchers . is ( output ) )