public function getValue() { return $this->value === null ? $this->defaultValue : $this->value; }
/** * @test */ public function setValueShouldCallPropertyMapperCorrectlyAndStoreResultInValue() { $this->setupPropertyMapperAndSetValue(); $this->assertSame('convertedValue', $this->simpleValueArgument->getValue()); }