METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; ch . puzzle . itc . mobiliar . business . IDENT_1 . entity . IDENT_2 IDENT_3 = new ch . puzzle . itc . mobiliar . business . IDENT_1 . entity . METHOD_1 ( ) ; IDENT_3 . METHOD_2 ( ch . IDENT_4 . itc . mobiliar . rest . IDENT_5 . IDENT_6 ) ; IDENT_3 . setValue ( IDENT_0 ) ; when ( IDENT_7 . METHOD_3 ( ) ) . thenReturn ( java . util . Collections . singletonList ( IDENT_3 ) ) ; java . util . List < ch . puzzle . itc . mobiliar . business . IDENT_1 . entity . METHOD_1 > IDENT_8 = rest . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } get ( java . lang . String ) { if ( IDENT_9 . IDENT_10 . equals ( key ) ) { return IDENT_11 ; } else if ( IDENT_9 . IDENT_12 . equals ( key ) ) { return IDENT_13 ; } if ( ( IDENT_14 ) != null ) { return IDENT_14 . get ( key ) ; } return null ; }
org . junit . Assert . assertThat ( IDENT_8 . get ( 0 ) . getValue ( ) , org . hamcrest . CoreMatchers . is ( IDENT_0 ) )