Turning TestCaseTrait into PlugMockFactory