A trust vote or floor test or no-confidence motion is a constitutional mechanism used to determine if the ruling government enjoys the support of the legislature.