checking for the exception in statementExecutorImplTest
extracting error messages to constants