public class OptionalShouldBeEmpty extends BasicErrorMessageFactory
Optional should be empty.arguments, format| Modifier and Type | Method and Description |
|---|---|
static <T> OptionalShouldBeEmpty |
shouldBeEmpty(Optional<T> optional)
Indicates that the provided
Optional should be empty. |
static OptionalShouldBeEmpty |
shouldBeEmpty(OptionalDouble optional)
Indicates that the provided
OptionalDouble should be empty. |
static OptionalShouldBeEmpty |
shouldBeEmpty(OptionalInt optional)
Indicates that the provided
OptionalInt should be empty. |
static OptionalShouldBeEmpty |
shouldBeEmpty(OptionalLong optional)
Indicates that the provided
OptionalLong should be empty. |
create, create, create, equals, hashCode, toString, unquotedStringpublic static <T> OptionalShouldBeEmpty shouldBeEmpty(Optional<T> optional)
Optional should be empty.public static OptionalShouldBeEmpty shouldBeEmpty(OptionalDouble optional)
OptionalDouble should be empty.optional - the actual OptionalDouble to test.public static OptionalShouldBeEmpty shouldBeEmpty(OptionalInt optional)
OptionalInt should be empty.optional - the actual OptionalInt to test.public static OptionalShouldBeEmpty shouldBeEmpty(OptionalLong optional)
OptionalLong should be empty.optional - the actual OptionalLong to test.Copyright © 2014–2016 AssertJ. All rights reserved.