public class ShouldHaveAtLeastOneElementOfType extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ShouldHaveAtLeastOneElementOfType |
shouldHaveAtLeastOneElementOfType(Object actual,
Class<?> expectedType)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ShouldHaveAtLeastOneElementOfType shouldHaveAtLeastOneElementOfType(Object actual, Class<?> expectedType)
ShouldHaveAtLeastOneElementOfType
.actual
- array or IterableexpectedType
- the expected type of one element at leastErrorMessageFactory
.Copyright © 2014–2017 AssertJ. All rights reserved.