public function testFindFirstWithFieldsOption()
{
return;
$key = Galleries::meta('key');
$new = Galleries::create(array($key => 1111, 'name' => 'Test find first with fields.'));
$result = $new->data();
$expected = array($key => 1111, 'name' => 'Test find first with fields.');
$this->assertEqual($expected['name'], $result['name']);
$this->assertEqual($expected[$key], $result[$key]);
$this->assertFalse($new->exists());
$this->assertTrue($new->save());
$this->assertTrue($new->exists());
$result = Galleries::find('first', array('fields' => array('name')));
$this->assertNotInternalType('null', $result);
$this->skipIf($result === null, 'No result returned to test');
$result = $result->data();
$this->assertEqual($expected['name'], $result['name']);
$this->assertTrue($new->delete());
}