σʔλϓϩόΠμͷ͍·Θ͠ w ଞͷςετͰ༻͍ͯ͠ΔσʔλϓϩόΠμΛແཧʹྲྀ༻ w ड͚औͬͨΛߋ৽ͨ͠ΓɺҰ෦ΛΘͳ͔ͬͨΓ w σόοΨ͕ͳ͍ͱಡΊͳ͍ w ίʔυΛ͏࣌ʹσʔλϓϩόΠμ͔ΒԿΛ͞Ε͔ͨΛهԱ͠ ͯɺͦͷهԱͷΛߋ৽͠ͳ͍ͱ͍͚ͳ͍ ςετσʔλϓϩόΠμ͕͓͢͢Ί
ςετσʔλϓϩόΠμ public function testGetQuestions(array $input, array $expected) { $service = new QuestionService(); $this->assertEquals($expected, $service->getQuestions($input)); } public function testGetQuestionsWithoutDate(array $input, array $expected) { $service = new QuestionService(); $this->assertEquals($expected, $service->getQuestionsWithoutDate($input)); }