<div>There are three patches attached here. One adds matchers for the various parts of a for loop (initializer, condition, increment), as well as extending the hasBody matcher to work for while and do-while loops. The second patch adds an isInteger matcher for types.</div>
<div>The third patch fixes a bug in allOf, where a few of the name chages (AllOf --> allOf) had been missed.</div><div><br></div><div>All matchers come with unit tests.</div><div><br></div><div>Thoughts?</div><div>-Sam</div>