They are constituted by a public deed or testament (article 54).
The marriage contract is to be made by public deed.