assertInstanceOf(MailLogRepository::class, $factory->createMailLogRepository()); $this->assertSame($factory->createMailLogRepository(), $factory->createMailLogRepository()); $this->assertInstanceOf(MailService::class, $factory->createMailService()); $this->assertSame($factory->createMailService(), $factory->createMailService()); $this->assertInstanceOf(MailLogService::class, $factory->createMailLogService()); $this->assertSame($factory->createMailLogService(), $factory->createMailLogService()); } }