public function testEnabledFeatures()
{
$supported = array('booleans', 'schema', 'relationships', 'sources');
$notSupported = array('arrays', 'transactions');
foreach ($supported as $feature) {
$this->assertTrue(Sqlite3::enabled($feature));
}
foreach ($notSupported as $feature) {
$this->assertFalse(Sqlite3::enabled($feature));
}
$this->assertNull(Sqlite3::enabled('unexisting'));
}