Package org.assertj.core.internal
Class Characters
java.lang.Object
org.assertj.core.internal.Comparables
org.assertj.core.internal.Characters
Reusable assertions for
Character
s.-
Field Summary
FieldsFields inherited from class org.assertj.core.internal.Comparables
failures
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.Methods inherited from class org.assertj.core.internal.Comparables
areEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertIsAfter, assertIsAfterOrEqualTo, assertIsBefore, assertIsBeforeOrEqualTo, assertIsBetween, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, equals, getComparator, hashCode, resetFailures, setFailures, toString
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Characters
Characters() -
Characters
-
-
Method Details
-
instance
Returns the singleton instance of this class.- Returns:
- the singleton instance of this class.
-
assertLowerCase
Asserts that the actual value is a lowercase character.- Parameters:
info
- contains information about the assertion.actual
- the actual value.- Throws:
AssertionError
- if the actual value isnull
.AssertionError
- if the actual value is not a lowercase character.
-
assertUpperCase
Asserts that the actual value is a uppercase character.- Parameters:
info
- contains information about the assertion.actual
- the actual value.- Throws:
AssertionError
- if the actual value isnull
.AssertionError
- if the actual value is not a uppercase character.
-