METHOD_0 ( ) { java . lang . String name = STRING_0 ; java . util . List < ch . puzzle . itc . mobiliar . business . IDENT_0 . entity . IDENT_1 > list = new java . util . ArrayList ( ) ; ch . puzzle . itc . mobiliar . business . IDENT_0 . entity . IDENT_2 IDENT_3 = new ch . puzzle . itc . mobiliar . business . integration . entity . util . METHOD_1 ( ) . name ( STRING_0 ) . build ( ) ; ch . puzzle . itc . mobiliar . business . IDENT_0 . entity . IDENT_1 entity = new ch . puzzle . itc . mobiliar . IDENT_4 . METHOD_2 ( ) . METHOD_3 ( IDENT_3 ) . build ( ) ; entity . setName ( STRING_0 ) ; list . add ( entity ) ; org . mockito . Mockito . when ( IDENT_5 . METHOD_4 ( org . mockito . Mockito . anyString ( ) ) ) . thenReturn ( list ) ; java . util . List < ch . puzzle . itc . mobiliar . business . IDENT_0 . entity . IDENT_1 > result = IDENT_6 . METHOD_0 ( name ) ; "<AssertPlaceHolder>" ; } equals ( java . lang . Object ) { if ( ( this ) == obj ) { return true ; } if ( obj == null ) { return false ; } if ( ( getClass ( ) ) != ( obj . getClass ( ) ) ) { return false ; } ch . puzzle . itc . mobiliar . business . generator . control . IDENT_7 . IDENT_8 . IDENT_9 other = ( ( ch . puzzle . itc . mobiliar . business . generator . control . IDENT_7 . IDENT_8 . IDENT_9 ) ( obj ) ) ; if ( ( properties ) == null ) { if ( ( other . properties ) != null ) { return false ; } } else if ( ! ( properties . equals ( other . properties ) ) ) { return false ; } if ( ( IDENT_10 ) == null ) { if ( ( other . IDENT_10 ) != null ) { return false ; } } else if ( ! ( IDENT_10 . equals ( other . IDENT_10 ) ) ) { return false ; } if ( ( resource ) == null ) { if ( ( other . resource ) != null ) { return false ; } } else if ( ! ( resource . equals ( other . resource ) ) ) { return false ; } if ( ( IDENT_11 ) == null ) { if ( ( other . IDENT_11 ) != null ) { return false ; } } else if ( ! ( IDENT_11 . equals ( other . IDENT_11 ) ) ) { return false ; } if ( ( IDENT_12 ) == null ) { if ( ( other . IDENT_12 ) != null ) { return false ; } } else if ( ! ( IDENT_12 . equals ( other . IDENT_12 ) ) ) { return false ; } return true ; }
org . junit . Assert . assertTrue ( name . equals ( result . get ( 0 ) . getName ( ) ) )