public function testIsWritable() { $item = new FieldItem(); $item->writable(); $this->assertTrue($item->isWritable()); $item->notWritable(); $this->assertFalse($item->isWritable()); }