Consistent assert API

Docs for https://github.com/cakephp/cakephp/pull/4206
Same as above