| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Access | Constructor and Description |
|---|---|
| private | ShouldOnlyHaveFields(Class<?> actual, Collection<String> expected, Collection<String> notFound, Collection<String> notExpected, boolean declared)
|
| private | ShouldOnlyHaveFields(Class<?> actual, Collection<String> expected, Collection<String> notFoundOrNotExpected, ShouldOnlyHaveFields.
|
| Modifier and Type | Method and Description |
|---|---|
| private static ErrorMessageFactory | create(Class<?> actual, Collection<String> expected, Collection<String> notFound, Collection<String> notExpected, boolean declared)
|
| public static ErrorMessageFactory | Returns: the createdErrorMessageFactory.the actual value in the failed assertion. actual, Collection<String> expected fields for this class expected, Collection<String> fields in notFound, Collection<String> expected not found in the actual.fields in the notExpected)actual that were not in expected.Creates a new |
| public static ErrorMessageFactory | Returns: the createdErrorMessageFactory.the actual value in the failed assertion. actual, Collection<String> expected fields for this class expected, Collection<String> fields in notFound, Collection<String> expected not found in the actual.fields in the notExpected)actual that were not in expected.Creates a new |
| ShouldOnlyHaveFields | back to summary |
|---|---|
| private ShouldOnlyHaveFields(Class<?> actual, Collection<String> expected, Collection<String> notFound, Collection<String> notExpected, boolean declared) | |
| ShouldOnlyHaveFields | back to summary |
|---|---|
| private ShouldOnlyHaveFields(Class<?> actual, Collection<String> expected, Collection<String> notFoundOrNotExpected, ShouldOnlyHaveFields. | |
| create | back to summary |
|---|---|
| private static ErrorMessageFactory create(Class<?> actual, Collection<String> expected, Collection<String> notFound, Collection<String> notExpected, boolean declared) | |
| shouldOnlyHaveDeclaredFields | back to summary |
|---|---|
| public static ErrorMessageFactory shouldOnlyHaveDeclaredFields(Class<?> actual, Collection<String> expected, Collection<String> notFound, Collection<String> notExpected) Creates a new
| |
| shouldOnlyHaveFields | back to summary |
|---|---|
| public static ErrorMessageFactory shouldOnlyHaveFields(Class<?> actual, Collection<String> expected, Collection<String> notFound, Collection<String> notExpected) Creates a new
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final ShouldOnlyHaveFields. | |
| public static final ShouldOnlyHaveFields. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ShouldOnlyHaveFields. | |
| public static ShouldOnlyHaveFields. |
| NOT_EXPECTED_ONLY | back to summary |
|---|---|
| public static final ShouldOnlyHaveFields. | |
| NOT_FOUND_ONLY | back to summary |
|---|---|
| public static final ShouldOnlyHaveFields. | |
| ErrorType | back to summary |
|---|---|
| private ErrorType() | |
| valueOf | back to summary |
|---|---|
| public static ShouldOnlyHaveFields. | |
| values | back to summary |
|---|---|
| public static ShouldOnlyHaveFields. | |