public class ZonedDateTimeAssertion extends FluentZonedDateTimeAssertion<ZonedDateTimeAssertion>
ZonedDateTime
objects.
Constructor and Description |
---|
ZonedDateTimeAssertion(ZonedDateTime value)
Creator.
|
Modifier and Type | Method and Description |
---|---|
static ZonedDateTimeAssertion |
create(ZonedDateTime value)
Creator.
|
ZonedDateTimeAssertion |
msg(String msg,
Object... args)
Allows to to specify the assertion failure message.
|
protected ZonedDateTimeAssertion |
returns()
Returns the object that the fluent methods on this class should return.
|
ZonedDateTimeAssertion |
stderr()
If an error occurs, send the error message to STDERR.
|
ZonedDateTimeAssertion |
stdout()
If an error occurs, send the error message to STDOUT.
|
isAfter, isAfterNow, isBefore, isBeforeNow, isBetween, isEqual
compareTo, isBetween, isGreaterThan, isGreaterThanOrEqual, isGt, isGte, isLessThan, isLessThanOrEqual, isLt, isLte
doesNotEqual, doesNotExist, equivalent, exists, is, isAny, isEqual, isNot, isNotAny, isNotNull, isNull, isType, json, jsonSorted, passes, passes, sameAs, sameAsSerialized, sameAsSorted, serialized, string, string, string
assertNotNull, assertNotNull, className, error
public ZonedDateTimeAssertion(ZonedDateTime value)
value
- The date being wrapped.public static ZonedDateTimeAssertion create(ZonedDateTime value)
value
- The date being wrapped.ZonedDateTimeAssertion
object.protected ZonedDateTimeAssertion returns()
FluentAssertion
returns
in class FluentAssertion<ZonedDateTimeAssertion>
public ZonedDateTimeAssertion msg(String msg, Object... args)
Assertion
String can contain
msg
in class FluentZonedDateTimeAssertion<ZonedDateTimeAssertion>
msg
- The assertion failure message.args
- Optional message arguments.public ZonedDateTimeAssertion stderr()
Assertion
stderr
in class FluentZonedDateTimeAssertion<ZonedDateTimeAssertion>
public ZonedDateTimeAssertion stdout()
Assertion
stdout
in class FluentZonedDateTimeAssertion<ZonedDateTimeAssertion>
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.