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