ErrorMessageFactorypublic class OptionalShouldBeEmpty extends BasicErrorMessageFactory
Optional should be empty.arguments, format| Modifier and Type | Method | Description |
|---|---|---|
static <VALUE> OptionalShouldBeEmpty |
shouldBeEmpty(Optional<VALUE> 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 <VALUE> OptionalShouldBeEmpty shouldBeEmpty(Optional<VALUE> 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–2019. All rights reserved.