METHOD_0 ( ) { org . mockito . Mockito . when ( IDENT_0 . METHOD_1 ( 1 ) ) . thenReturn ( FLOAT_0 ) ; org . mockito . Mockito . when ( IDENT_0 . METHOD_2 ( 1 ) ) . thenReturn ( FLOAT_0 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_0 ) . METHOD_2 ( 1 ) ; } METHOD_1 ( java . lang . Class , java . sql . ResultSet , int ) { if ( type == ( java . lang . String . class ) ) { final byte [ ] bytes = rs . getBytes ( index ) ; if ( bytes != null ) { try { return ( ( IDENT_1 ) ( new java . lang . String ( bytes , STRING_0 ) ) ) ; } catch ( final java . io . IDENT_2 e ) { throw new com . cloud . IDENT_3 . exceptions . METHOD_3 ( STRING_1 ) ; } } else { return null ; } } else if ( type == ( int . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Integer ) ( rs . METHOD_4 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Integer . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Integer ) ( rs . METHOD_4 ( index ) ) ) ) ; } } else if ( type == ( long . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Long ) ( rs . METHOD_5 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Long . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Long ) ( rs . METHOD_5 ( index ) ) ) ) ; } } else if ( type == ( java . util . Date . class ) ) { final java . lang . Object data = rs . METHOD_6 ( index ) ; if ( data == null ) { return null ; } else { return ( ( IDENT_1 ) ( com . cloud . utils . IDENT_4 . METHOD_7 ( com . cloud . utils . db . IDENT_5 . IDENT_6 , rs . getString ( index ) ) ) ) ; } } else if ( type == ( short . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . IDENT_7 ) ( rs . METHOD_8 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . IDENT_7 . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . IDENT_7 ) ( rs . METHOD_8 ( index ) ) ) ) ; } } else if ( type == ( boolean . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Boolean ) ( rs . METHOD_9 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Boolean . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Boolean ) ( rs . METHOD_9 ( index ) ) ) ) ; } } else if ( type == ( float . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . IDENT_8 ) ( rs . METHOD_10 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . IDENT_8 . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . IDENT_8 ) ( rs . METHOD_10 ( index ) ) ) ) ; } } else if ( type == ( double . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . Double ) ( rs . METHOD_2 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . Double . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . Double ) ( rs . METHOD_2 ( index ) ) ) ) ; } } else if ( type == ( byte . class ) ) { return ( ( IDENT_1 ) ( ( java . lang . IDENT_9 ) ( rs . METHOD_11 ( index ) ) ) ) ; } else if ( type == ( com . cloud . utils . db . IDENT_9 . class ) ) { if ( ( rs . METHOD_1 ( index ) ) == null ) { return null ; } else { return ( ( IDENT_1 ) ( ( java . lang . IDENT_9 ) ( rs . METHOD_11 ( index ) ) ) ) ; } } else if ( type == ( java . util . Calendar . class ) ) { final java . lang . Object data = rs . METHOD_6 ( index ) ; if ( data == null ) { return null ; } else { final java . util . Calendar IDENT_10 = java . util . Calendar . getInstance ( ) ; IDENT_10 . METHOD_12 ( com . cloud . utils . IDENT_4 . METHOD_7 ( com . cloud . utils . db . IDENT_5 . IDENT_6 , rs . getString ( index ) ) ) ; return ( ( IDENT_1 ) ( IDENT_10 ) ) ; } } else if ( type == ( byte [ ] . class ) ) { return ( ( IDENT_1 ) ( rs . getBytes ( index ) ) ) ; } else { return ( ( IDENT_1 ) ( rs . METHOD_1 ( index ) ) ) ; } }
org . junit . Assert . assertEquals ( FLOAT_0 , com . cloud . utils . db . IDENT_5 . METHOD_1 ( com . cloud . utils . db . Double . class , IDENT_0 , 1 ) , FLOAT_0 )