assignment of the contract — Legal Definition, Examples & Cases