METHOD_0 ( ) { final com . spotify . IDENT_0 . client . messages . IDENT_1 event = com . spotify . IDENT_0 . client . messages . IDENT_1 . create ( STRING_0 , "foo" , STRING_1 , IDENT_1 . Type . IDENT_2 , STRING_0 , IDENT_1 . IDENT_3 . create ( "bar" , com . google . common . collect . ImmutableMap . of ( STRING_2 , STRING_1 , "name" , STRING_3 ) ) , new java . util . Date ( INT_0 ) , INT_1 ) ; final com . fasterxml . jackson . databind . IDENT_4 mapper = com . spotify . IDENT_0 . client . IDENT_5 . METHOD_1 ( ) ; final java . lang . String json = mapper . METHOD_2 ( event ) ; final com . spotify . IDENT_0 . client . messages . IDENT_1 IDENT_6 = mapper . METHOD_3 ( json , com . spotify . IDENT_0 . client . messages . IDENT_1 . class ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( ) { return com . spotify . IDENT_0 . client . IDENT_5 . IDENT_7 ; }
org . junit . Assert . assertThat ( event , org . hamcrest . Matchers . equalTo ( IDENT_6 ) )