METHOD_0 ( ) { ch . puzzle . itc . mobiliar . business . IDENT_0 . entity . IDENT_1 test = ch . puzzle . itc . mobiliar . IDENT_2 . IDENT_3 . METHOD_1 ( IDENT_4 , IDENT_5 , IDENT_6 , null , IDENT_5 . METHOD_2 ( ) ) ; when ( IDENT_7 . find ( METHOD_3 ( ch . puzzle . itc . mobiliar . business . IDENT_8 . entity . IDENT_9 . class ) , METHOD_4 ( ) ) ) . thenReturn ( IDENT_5 ) ; when ( IDENT_7 . find ( METHOD_3 ( ch . puzzle . itc . mobiliar . business . IDENT_10 . entity . IDENT_11 . class ) , METHOD_4 ( ) ) ) . thenReturn ( IDENT_4 ) ; when ( IDENT_12 . METHOD_5 ( IDENT_4 ) ) . thenReturn ( java . util . Collections . singletonList ( IDENT_4 ) ) ; when ( IDENT_13 . METHOD_6 ( any ( ch . puzzle . itc . mobiliar . business . IDENT_8 . entity . IDENT_14 . class ) , any ( ch . puzzle . itc . mobiliar . business . IDENT_15 . entity . IDENT_16 . class ) ) ) . thenReturn ( IDENT_5 ) ; java . io . IOException exception = new java . io . IOException ( "foo" ) ; try { when ( IDENT_12 . METHOD_7 ( any ( ch . puzzle . itc . mobiliar . business . generator . control . IDENT_17 . IDENT_18 . class ) ) ) . METHOD_8 ( exception ) ; } catch ( ch . puzzle . itc . mobiliar . common . exception . IDENT_19 e ) { } catch ( java . io . IOException e ) { } ch . puzzle . itc . mobiliar . business . IDENT_0 . control . IDENT_20 result = service . METHOD_9 ( test ) ; "<AssertPlaceHolder>" ; verify ( IDENT_21 , times ( 1 ) ) . METHOD_10 ( exception , test . getId ( ) ) ; verify ( IDENT_21 , times ( 0 ) ) . METHOD_11 ( test ) ; } METHOD_9 ( ch . puzzle . itc . mobiliar . business . IDENT_0 . entity . IDENT_1 ) { log . info ( ( STRING_0 + ( IDENT_22 . getId ( ) ) ) ) ; ch . puzzle . itc . mobiliar . business . IDENT_0 . control . IDENT_20 result = null ; try { result = METHOD_12 ( IDENT_22 ) ; if ( ( result != null ) && ( result . METHOD_13 ( ) ) ) { IDENT_21 . METHOD_10 ( result . METHOD_14 ( ) , IDENT_22 . getId ( ) ) ; } } catch ( final ch . puzzle . itc . mobiliar . common . exception . IDENT_19 e ) { IDENT_21 . METHOD_10 ( e , IDENT_22 . getId ( ) ) ; } catch ( final java . io . IOException e ) { IDENT_21 . METHOD_10 ( e , IDENT_22 . getId ( ) ) ; } return result ; }
org . junit . Assert . assertNull ( result )