METHOD_0 ( ) { org . sagebionetworks . repo . model . IDENT_0 . dao . IDENT_1 . IDENT_2 . IDENT_3 object = new org . sagebionetworks . repo . model . IDENT_0 . dao . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; object . METHOD_2 ( STRING_0 ) ; org . springframework . jdbc . core . IDENT_4 . IDENT_5 source = new org . springframework . jdbc . core . IDENT_4 . METHOD_3 ( object ) ; int expected = 3 * ( IDENT_6 . IDENT_7 ) ; int size = org . sagebionetworks . repo . model . IDENT_0 . IDENT_1 . IDENT_8 . METHOD_4 ( source ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . springframework . jdbc . core . IDENT_4 . METHOD_3 ) { if ( object == null ) return 0 ; int size = 0 ; java . lang . String [ ] IDENT_9 = object . METHOD_5 ( ) ; for ( java . lang . String name : IDENT_9 ) { java . lang . Object value = object . getValue ( name ) ; if ( value != null ) { int type = object . METHOD_6 ( name ) ; if ( ( java . sql . IDENT_10 . IDENT_11 ) == type ) { java . lang . String string = ( ( java . lang . String ) ( value ) ) ; size += ( string . length ( ) ) * ( IDENT_6 . IDENT_7 ) ; } else if ( ( java . sql . IDENT_10 . IDENT_12 ) == type ) { size += Long . IDENT_7 ; } else if ( ( java . sql . IDENT_10 . IDENT_13 ) == type ) { size += Long . IDENT_7 ; } else if ( ( java . sql . IDENT_10 . IDENT_14 ) == type ) { size += Double . IDENT_7 ; } else if ( ( java . sql . IDENT_10 . IDENT_15 ) == type ) { size += Integer . IDENT_7 ; } else if ( ( java . sql . IDENT_10 . IDENT_16 ) == type ) { size += Integer . IDENT_7 ; } else if ( ( java . sql . IDENT_10 . IDENT_17 ) == type ) { size += 1 ; } else if ( ( Integer . IDENT_18 ) == type ) { if ( value instanceof byte [ ] ) { byte [ ] array = ( ( byte [ ] ) ( value ) ) ; size += array . length ; } else if ( value instanceof java . lang . Class ) { } else if ( value . getClass ( ) . METHOD_7 ( ) ) { try { java . lang . reflect . Method IDENT_19 = value . getClass ( ) . METHOD_8 ( "name" ) ; java . lang . String IDENT_20 = ( ( java . lang . String ) ( IDENT_19 . invoke ( value , null ) ) ) ; size += ( IDENT_20 . length ( ) ) * ( IDENT_6 . IDENT_7 ) ; } catch ( java . lang . Exception e ) { throw new java . lang . RuntimeException ( e ) ; } } else if ( value instanceof java . lang . Boolean ) { size += 1 ; } else { } } else { throw new java . lang . IllegalArgumentException ( ( ( ( ( ( STRING_1 + type ) + STRING_2 ) + name ) + STRING_3 ) + ( value . getClass ( ) ) ) ) ; } } } return size ; }
org . junit . Assert . assertEquals ( expected , size )