|Modifier and Type||Method and Description|
Verifies that the number of changes is equal to the number in parameter.
public static <A extends AbstractAssert> A hasNumberOfChanges(A assertion, org.assertj.core.api.WritableAssertionInfo info, Changes changes, int expected)
A- The type of the assertion which call this method.
assertion- The assertion which call this method.
info- Writable information about an assertion.
changes- The changes.
expected- The number to compare to the size.
AssertionError- If the number of changes is different to the number in parameter.
Copyright © 2015 AssertJ. All Rights Reserved.