Anyone help with using Mocks inside plugins?

I want to use a Mock within a plugin thats writes to the FS. Do I
create a mock folder inside the plugin?