public class ShouldBeExactlyInstanceOf extends BasicErrorMessageFactory
arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldBeExactlyInstance(Object actual,
Class<?> type)
Creates a new
ShouldBeExactlyInstanceOf. |
create, equals, hashCode, toStringpublic static ErrorMessageFactory shouldBeExactlyInstance(Object actual, Class<?> type)
ShouldBeExactlyInstanceOf.actual - the actual value in the failed assertion.type - the type actual is expected to be.ErrorMessageFactory.Copyright © 2013 AssertJ. All Rights Reserved.