METHOD_0 ( ) { org . IDENT_0 . core . impl . IDENT_1 . IDENT_2 . entity . IDENT_3 IDENT_4 = org . IDENT_0 . core . impl . IDENT_1 . IDENT_2 . IDENT_5 . METHOD_1 ( org . IDENT_0 . core . impl . IDENT_6 . domain . IDENT_7 . class , new org . IDENT_0 . core . impl . IDENT_6 . domain . METHOD_2 ( STRING_0 ) , new org . IDENT_0 . core . impl . IDENT_6 . domain . METHOD_2 ( STRING_1 ) , new org . IDENT_0 . core . impl . IDENT_6 . domain . METHOD_2 ( STRING_2 ) , new org . IDENT_0 . core . impl . IDENT_6 . domain . METHOD_2 ( STRING_3 ) ) ; org . IDENT_0 . core . impl . IDENT_1 . IDENT_2 . common . IDENT_8 . IDENT_9 < org . IDENT_0 . core . impl . IDENT_6 . domain . IDENT_10 , org . IDENT_0 . core . impl . IDENT_6 . domain . METHOD_2 > IDENT_11 = ( IDENT_12 , entity ) -> { switch ( entity . getCode ( ) ) { case STRING_0 : return FLOAT_0 ; case STRING_1 : return FLOAT_1 ; case STRING_2 : return FLOAT_2 ; case STRING_3 : return FLOAT_3 ; default : throw new java . lang . IllegalStateException ( ( ( STRING_4 + entity ) + STRING_5 ) ) ; } } ; org . IDENT_0 . core . impl . IDENT_1 . IDENT_2 . entity . IDENT_8 . IDENT_13 IDENT_14 = new org . IDENT_0 . core . impl . IDENT_1 . IDENT_2 . entity . IDENT_8 . METHOD_3 ( IDENT_4 , org . IDENT_0 . core . config . IDENT_1 . IDENT_2 . common . IDENT_15 . IDENT_16 , IDENT_11 ) ; IDENT_14 . METHOD_4 ( mock ( org . IDENT_0 . core . impl . IDENT_17 . IDENT_18 . IDENT_19 . class ) ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( ) { return ( ( to ) - ( from ) ) / ( IDENT_20 ) ; }
org . junit . Assert . assertEquals ( 4 , IDENT_14 . METHOD_0 ( ) )