@seb7 If you are trying to test your cache with acceptance tests it means that the whole process should be done from the outside in. I believe your user don't have the ability to access your cache files and read them right?
The way I would go about it is something like this:
- Create some post and cache it -> save content as for assertion
- Update a post -> clear cache
- Assert the post's content is different from step 1 which indicates that the cache was rewritten.