/**
* Tests custom storage.
*
* @covers ::hasCustomStorage
* @covers ::setCustomStorage
*/
public function testCustomStorage() { $definition = BaseFieldDefinition::
create($this->fieldType
);
$this->
assertFalse($definition->
hasCustomStorage());
$definition->
setCustomStorage(TRUE
);
$this->
assertTrue($definition->
hasCustomStorage());
$definition->
setCustomStorage(FALSE
);
$this->
assertFalse($definition->
hasCustomStorage());
} /**
* Tests default value callbacks.
*
* @covers ::setDefaultValueCallback
*/
public function testDefaultValueCallback() {