username = 'baz'; $this->assertTrue($recordProxy->isDirty()); } public function testProxyIsInstanceOfRecord() { $recordProxy = new RecordProxy([]); $recordProxy->username = 'baz'; $this->assertInstanceOf(RecordProxy::class, $recordProxy); } }