private static function assertPrepeared($tableExists = null) { PsConnectionPool::assertConnectiedTo(PsConnectionParams::sdkTest()); foreach (to_array($tableExists) as $table) { check_condition(PsTable::exists($table), "Таблица {$table} не существует"); } }