public function testReadWithQueryObjectRecordSet()
{
$query = new Query(array('type' => 'read', 'model' => $this->_model));
$result = $this->_db->read($query);
$this->assertInstanceOf('lithium\\data\\collection\\RecordSet', $result);
$expected = "SELECT * FROM {mock_database_posts} AS {MockDatabasePost};";
$result = $this->_db->sql;
$this->assertEqual($expected, $result);
}