Add hasCustomView action bar assert.