public function testCreateUsesTheOnlySupportedNotifier() { $expectedNotifier = new ConfigurableNotifier(true); $notifier = NotifierFactory::create([$expectedNotifier]); $this->assertSame($expectedNotifier, $notifier); }