Design by Contract, by Example