[DBAL-407] Implement method in Driver mock class
[DBAL-407] Implemented not null exception detection for sqlite