Fix to build mock from DbInterface