public function testSaveAndLoadCustomFieldValue() { $customFieldValue = new CustomFieldValue(); $customFieldValue->value = 'Abc'; $saved = $customFieldValue->save(); $this->assertTrue($saved); $id = $customFieldValue->id; $customFieldValue->forget(); unset($customFieldValue); $customFieldValue = CustomFieldValue::getById($id); $this->assertEquals('Abc', $customFieldValue->value); }