public class AssertionsOnNumberOfChanges extends Object
AssertOnNumberOfChanges
Modifier and Type | Method and Description |
---|---|
static <A extends AbstractAssert<?>> |
hasNumberOfChanges(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Changes changes,
int expected)
Verifies that the number of changes is equal to the number in parameter.
|
static <A extends AbstractAssert<?>> |
hasNumberOfChangesGreaterThan(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Changes changes,
int expected)
Verifies that the number of changes is greater than the number in parameter.
|
static <A extends AbstractAssert<?>> |
hasNumberOfChangesGreaterThanOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Changes changes,
int expected)
Verifies that the number of changes is greater than or equal to the number in parameter.
|
static <A extends AbstractAssert<?>> |
hasNumberOfChangesLessThan(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Changes changes,
int expected)
Verifies that the number of changes is less to the number in parameter.
|
static <A extends AbstractAssert<?>> |
hasNumberOfChangesLessThanOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Changes changes,
int expected)
Verifies that the number of changes is less than or 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.this
assertion object.AssertionError
- If the number of changes is different to the number in parameter.public static <A extends AbstractAssert<?>> A hasNumberOfChangesGreaterThan(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.this
assertion object.AssertionError
- If the number of changes is less than or equal to the number in parameter.public static <A extends AbstractAssert<?>> A hasNumberOfChangesLessThan(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.this
assertion object.AssertionError
- If the number of changes is greater than or equal to the number in parameter.public static <A extends AbstractAssert<?>> A hasNumberOfChangesGreaterThanOrEqualTo(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.this
assertion object.AssertionError
- If the number of changes is less than the number in parameter.public static <A extends AbstractAssert<?>> A hasNumberOfChangesLessThanOrEqualTo(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.this
assertion object.AssertionError
- If the number of changes is greater than the number in parameter.Copyright © 2020 AssertJ. All rights reserved.