Proposing sample code fix for issue #764

The code attached can be used to solve the problem with the ```negate()``` method discussed in issue #764 . Tests covering the solution are available in AssertTest.php