METHOD_0 ( ) { org . mockito . IDENT_0 < java . lang . String > IDENT_1 = org . mockito . IDENT_0 . METHOD_1 ( java . lang . String . class ) ; when ( IDENT_2 . METHOD_2 ( "foo" , com . amazon . IDENT_3 . model . IDENT_4 . class ) ) . thenReturn ( IDENT_5 ) ; serializer . METHOD_3 ( "foo" , com . amazon . IDENT_3 . model . IDENT_4 . class ) ; verify ( IDENT_2 ) . METHOD_2 ( IDENT_1 . METHOD_4 ( ) , any ( java . lang . Class . class ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . io . InputStream , java . lang . Class ) { try { return com . amazon . IDENT_3 . util . IDENT_6 . mapper . METHOD_2 ( IDENT_7 , type ) ; } catch ( java . io . IOException e ) { throw new com . amazon . IDENT_3 . exception . METHOD_5 ( STRING_0 , e ) ; } }
org . junit . Assert . assertEquals ( IDENT_1 . getValue ( ) , "foo" )