Package org.fest.assertions.internal
Class Characters
java.lang.Object
org.fest.assertions.internal.Comparables
org.fest.assertions.internal.Characters
Reusable assertions for
Character
s.- Author:
- Alex Ruiz, Joel Costigliola
-
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.fest.assertions.internal.Comparables
areEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, getComparator
-
Constructor Details
-
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.
-