METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 serializer = mock ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . class ) ; doReturn ( "foo" . getBytes ( ) ) . when ( serializer ) . serialize ( any ( com . IDENT_0 . IDENT_1 . IDENT_5 . class ) ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_6 buffer = new com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_1 ( 1 , false , serializer ) ; "<AssertPlaceHolder>" ; } isEmpty ( ) { return this . buffer . isEmpty ( ) ; }
org . junit . Assert . assertEquals ( true , buffer . isEmpty ( ) )