/** * @test */ public function getReplytoName() { $this->assertSame('John Connor', $this->subject->getReplytoName(), 'sould return globally configured default value'); $this->subject->setReplytoName('My custom name'); $this->assertSame('My custom name', $this->subject->getReplytoName(), 'sould return locally set value'); }