public function shouldThrowExceptionWhenDialectAdapterNotExists()
{
//given
Config::overrideProperty('sql_dialect')->with('\\Ouzo\\Tools\\Model\\Template\\MyImagineDialect');
//when
try {
new Generator('order_products');
$this->fail();
} catch (GeneratorException $e) {
}
//then
Config::revertProperty('sql_dialect');
}