public function testFindBy() { $r = Users::findBy(array('email' => '[email protected]'), 1); $r->test = $r->escape('test'); $this->assertEquals('test', $r->test); unset($r->test); $this->assertNull($r->test); $this->assertEquals(1, $r->id); }