public class ShouldBeCompatible
extends org.assertj.core.error.BasicErrorMessageFactory
| Modifier and Type | Method and Description |
|---|---|
static org.assertj.core.error.ErrorMessageFactory |
shouldBeCompatible(Value actual,
Object expected)
Creates a new
. |
public static org.assertj.core.error.ErrorMessageFactory shouldBeCompatible(Value actual, Object expected)
ShouldBeCompatible.actual - The actual value in the failed assertion.expected - The expected value to compare to.ErrorMessageFactory.Copyright © 2015–2017 AssertJ. All rights reserved.