write('name', 'John'); $model->write('age', 15); $model->write('email', 'Johnny@appleseed.com'); $this->assertEquals('John', $model->read('name')); $this->assertEquals(15, $model->read('age')); $this->assertEquals('Johnny@appleseed.com', $model->read('email')); } public function testUuid () { $model = Meta::create(); $uuid = Uuid::uuid4(); $this->assertTrue($model->hasUuid()); $model->setRawUuid($uuid); $this->assertEquals($uuid, $model->getUuid()); } }