METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( IDENT_1 ) ) . thenReturn ( "foo" ) ; "<AssertPlaceHolder>" ; } serialize ( T ) { try { return com . amazon . IDENT_2 . util . IDENT_3 . mapper . METHOD_1 ( t ) ; } catch ( java . io . IOException e ) { throw new com . amazon . IDENT_2 . exception . METHOD_2 ( STRING_0 , e ) ; } }
org . junit . Assert . assertEquals ( serializer . serialize ( IDENT_1 ) , "foo" )