Fix typos and syntax errors in examples

Related to https://github.com/atoum/atoum/pull/330.
this line should not change : https://github.com/atoum/atoum/blob/master/classes/mock/generator.php#L180