public class ShouldBeInterface extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeInterface(Class<?> actual)
Creates a new
. |
static ErrorMessageFactory |
shouldNotBeInterface(Class<?> actual)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldBeInterface(Class<?> actual)
ShouldBeInterface
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.public static ErrorMessageFactory shouldNotBeInterface(Class<?> actual)
ShouldBeInterface
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.