public class Characters extends Comparables
Character
s.Constructor and Description |
---|
Characters(ComparisonStrategy comparisonStrategy) |
Modifier and Type | Method and Description |
---|---|
void |
assertLowerCase(AssertionInfo info,
Character actual)
Asserts that the actual value is a lowercase character.
|
void |
assertUpperCase(AssertionInfo info,
Character actual)
Asserts that the actual value is a uppercase character.
|
static Characters |
instance()
Returns the singleton instance of this class.
|
areEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertIsBetween, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, checkBoundsValidity, equals, getComparator, hashCode, toString
public Characters(ComparisonStrategy comparisonStrategy)
public static Characters instance()
public void assertLowerCase(AssertionInfo info, Character actual)
info
- contains information about the assertion.actual
- the actual value.AssertionError
- if the actual value is null
.AssertionError
- if the actual value is not a lowercase character.public void assertUpperCase(AssertionInfo info, Character actual)
info
- contains information about the assertion.actual
- the actual value.AssertionError
- if the actual value is null
.AssertionError
- if the actual value is not a uppercase character.Copyright © 2014–2019 AssertJ. All rights reserved.