public function testValueWithSchema() {
$result = $this->db->value(null);
$this->assertIdentical('NULL', $result);
$result = $this->db->value('string', array('type' => 'string'));
$this->assertEqual("'string'", $result);
$result = $this->db->value('true', array('type' => 'boolean'));
$this->assertIdentical(1, $result);
$result = $this->db->value('1', array('type' => 'integer'));
$this->assertIdentical(1, $result);
$result = $this->db->value('1.1', array('type' => 'float'));
$this->assertIdentical(1.1, $result);
$result = $this->db->value('1', array('type' => 'string'));
$this->assertIdentical("'1'", $result);
}