public class ShouldContainOnlyDigits extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldContainOnlyDigits(CharSequence actual)
Creates a new
. |
static ErrorMessageFactory |
shouldContainOnlyDigits(CharSequence actual,
char character,
int index)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldContainOnlyDigits(CharSequence actual, char character, int index)
ShouldContainOnlyDigits
.actual
- the actual value in the failed assertion.character
- first non-digit character found in actual
.index
- index of first non-digit character found in actual
.ErrorMessageFactory
.public static ErrorMessageFactory shouldContainOnlyDigits(CharSequence actual)
ShouldContainOnlyDigits
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.