public class LongAssertion extends FluentLongAssertion<LongAssertion>
Constructor and Description |
---|
LongAssertion(Long value)
Creator.
|
Modifier and Type | Method and Description |
---|---|
static LongAssertion |
create(Long value)
Creator.
|
LongAssertion |
msg(String msg,
Object... args)
Allows to to specify the assertion failure message.
|
protected LongAssertion |
returns()
Returns the object that the fluent methods on this class should return.
|
LongAssertion |
stderr()
If an error occurs, send the error message to STDERR.
|
LongAssertion |
stdout()
If an error occurs, send the error message to STDOUT.
|
compareTo, equivalent, integer
isBetween, isGreaterThan, isGreaterThanOrEqual, isGt, isGte, isLessThan, isLessThanOrEqual, isLt, isLte
doesNotEqual, doesNotExist, 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 LongAssertion(Long value)
value
- The object being wrapped.public static LongAssertion create(Long value)
value
- The object being wrapped.LongAssertion
object.protected LongAssertion returns()
FluentAssertion
returns
in class FluentAssertion<LongAssertion>
public LongAssertion msg(String msg, Object... args)
Assertion
String can contain
msg
in class FluentLongAssertion<LongAssertion>
msg
- The assertion failure message.args
- Optional message arguments.public LongAssertion stderr()
Assertion
stderr
in class FluentLongAssertion<LongAssertion>
public LongAssertion stdout()
Assertion
stdout
in class FluentLongAssertion<LongAssertion>
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.