collectAssertions

Collects the assertions assertionCreator creates and uses them as AssertionGroup.assertions.