@Test
public void eofEqualsToFrameWithEofFLag() {

    Frame frame = create.frame().construct();
    frame.setFlags(IMediaCodec.BUFFER_FLAG_END_OF_STREAM);
    Frame eof = Frame.EOF();
    assertTrue(eof.equals(frame));
    assertTrue(frame.equals(eof));
}