new QuestionService(); $this->assertEquals($expected, $service->getQuestions($input)); } public function testGetQuestionsWithoutDate(array $input, array $expected) { $service = new QuestionService(); $this->assertEquals($expected, $service->getQuestionsWithoutDate($input)); }