METHOD_0 ( ) { final com . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = org . easymock . EasyMock . METHOD_1 ( com . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; org . easymock . EasyMock . expect ( IDENT_3 . METHOD_2 ( ) ) . andReturn ( com . IDENT_0 . domain . IDENT_4 . entity . IDENT_5 . class . METHOD_3 ( ) ) ; org . easymock . EasyMock . expect ( IDENT_3 . METHOD_4 ( ) ) . andReturn ( INT_0 ) ; org . easymock . EasyMock . replay ( IDENT_3 ) ; final com . IDENT_0 . IDENT_1 . IDENT_2 IDENT_6 = org . easymock . EasyMock . METHOD_1 ( com . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; org . easymock . EasyMock . expect ( IDENT_6 . METHOD_4 ( ) ) . andReturn ( INT_1 ) . times ( 2 ) ; org . easymock . EasyMock . replay ( IDENT_6 ) ; com . IDENT_0 . IDENT_7 . IDENT_8 IDENT_7 = new com . IDENT_0 . IDENT_7 . METHOD_5 ( ) { @ com . IDENT_0 . IDENT_7 . Override MOD_0 com . IDENT_0 . IDENT_1 . IDENT_2 METHOD_6 ( com . IDENT_9 . jts . geom . IDENT_10 location , java . lang . String name , java . lang . String IDENT_11 , java . lang . Class [ ] IDENT_12 , com . IDENT_9 . jts . geom . IDENT_13 IDENT_14 , java . lang . Class target ) { return IDENT_3 ; } @ com . IDENT_0 . IDENT_7 . Override MOD_0 com . IDENT_0 . IDENT_1 . IDENT_2 METHOD_7 ( java . lang . String name , java . lang . String IDENT_11 ) { return IDENT_6 ; } void METHOD_8 ( com . IDENT_0 . domain . IDENT_4 . entity . IDENT_15 IDENT_16 ) { "<AssertPlaceHolder>" ; } } ; com . IDENT_0 . domain . repository . IDENT_17 IDENT_18 = org . easymock . EasyMock . METHOD_1 ( com . IDENT_0 . domain . repository . IDENT_17 . class ) ; com . IDENT_0 . domain . IDENT_4 . entity . IDENT_19 IDENT_16 = new com . IDENT_0 . domain . IDENT_4 . entity . METHOD_9 ( ) ; IDENT_16 . setName ( STRING_0 ) ; IDENT_16 . METHOD_10 ( STRING_1 ) ; IDENT_16 . METHOD_11 ( com . IDENT_0 . helper . IDENT_20 . METHOD_12 ( FLOAT_0 , FLOAT_1 ) ) ; IDENT_16 . METHOD_13 ( INT_0 ) ; org . easymock . EasyMock . replay ( IDENT_18 ) ; IDENT_7 . METHOD_14 ( IDENT_18 ) ; com . IDENT_0 . domain . repository . IDENT_21 IDENT_22 = org . easymock . EasyMock . METHOD_1 ( com . IDENT_0 . domain . repository . IDENT_21 . class ) ; com . IDENT_0 . domain . IDENT_4 . entity . IDENT_23 IDENT_24 = new com . IDENT_0 . domain . IDENT_4 . entity . METHOD_15 ( 2 ) ; IDENT_24 . setName ( STRING_2 ) ; org . easymock . EasyMock . expect ( IDENT_22 . METHOD_16 ( INT_1 ) ) . andReturn ( IDENT_24 ) ; org . easymock . EasyMock . replay ( IDENT_22 ) ; IDENT_7 . METHOD_17 ( IDENT_22 ) ; com . IDENT_0 . domain . repository . IDENT_25 IDENT_26 = org . easymock . EasyMock . METHOD_1 ( com . IDENT_0 . domain . repository . IDENT_25 . class ) ; com . IDENT_0 . domain . IDENT_4 . entity . IDENT_5 IDENT_27 = new com . IDENT_0 . domain . IDENT_4 . entity . METHOD_18 ( ) ; org . easymock . EasyMock . expect ( IDENT_26 . METHOD_16 ( INT_0 ) ) . andReturn ( IDENT_27 ) ; org . easymock . EasyMock . expect ( IDENT_26 . save ( IDENT_27 ) ) . andReturn ( IDENT_27 ) ; org . easymock . EasyMock . replay ( IDENT_26 ) ; IDENT_7 . METHOD_19 ( IDENT_26 ) ; IDENT_7 . METHOD_20 ( new com . IDENT_0 . IDENT_7 . METHOD_21 ( ) ) ; java . lang . String line = STRING_3 ; IDENT_7 . METHOD_22 ( line ) ; org . easymock . EasyMock . verify ( IDENT_18 ) ; } METHOD_8 ( com . IDENT_0 . domain . IDENT_4 . entity . IDENT_15 ) { if ( IDENT_16 != null ) { if ( IDENT_16 instanceof com . IDENT_0 . domain . IDENT_4 . entity . METHOD_9 ) { IDENT_18 . save ( ( ( com . IDENT_0 . domain . IDENT_4 . entity . METHOD_9 ) ( IDENT_16 ) ) ) ; } else if ( IDENT_16 instanceof com . IDENT_0 . domain . IDENT_4 . entity . METHOD_18 ) { IDENT_28 . save ( ( ( com . IDENT_0 . domain . IDENT_4 . entity . METHOD_18 ) ( IDENT_16 ) ) ) ; } else { IDENT_29 . save ( IDENT_16 ) ; } } }
org . junit . Assert . assertTrue ( ( IDENT_16 instanceof com . IDENT_0 . domain . IDENT_4 . entity . METHOD_18 ) )