public function setUp() { $jsonPath = __DIR__ . '/' . self::JSON_MOCK_FILE; $this->jsonMock = file_get_contents($jsonPath); $searchResult = SearchResult::createFromJson($this->jsonMock); $this->searchResultFromJsonMock = $searchResult; }