Mocking library for php