public function testItsNotifierCanBeChanged() { $notifier = $this->createNotifierMock(); $this->assertSame($this->sut, $this->sut->setNotifier($notifier)); $this->assertAttributeSame($notifier, 'notifier', $this->sut); }