public function test_reload_protected_attribute() { $book = BookAttrAccessible::find(1); $book->name = "Should not stay"; $book->reload(); $this->assert_not_equals("Should not stay", $book->name); }
public function testReloadProtectedAttribute() { $book = BookAttrAccessible::find(1); $book->name = "Should not stay"; $book->reload(); $this->assertNotEquals("Should not stay", $book->name); }