Bryan AshleyinWeebly Engineering BlogPHPUnit — Mocking the File System using vfsStreamRecently I found myself needing to write tests for a small class that read from a json file. The class needed to read a json file, validate…Feb 5, 20171Feb 5, 20171