public function testGetCustomSetterWillReturnTheCustomSetterValue() { $setFixture = new Fixture(self::USER, 'user', ['__set' => 'setterFunc'], null); $noSetFixture = new Fixture(self::USER, 'user', [], null); $this->assertEquals('setterFunc', $setFixture->getCustomSetter()); $this->assertNull($noSetFixture->getCustomSetter()); }