Package org.assertj.core.internal
Class Characters
java.lang.Object
org.assertj.core.internal.Comparables
org.assertj.core.internal.Characters
Reusable assertions for
Characters.- Author:
- Alex Ruiz, Joel Costigliola
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassertLowerCase(AssertionInfo info, Character actual) Asserts that the actual value is a lowercase character.voidassertUpperCase(AssertionInfo info, Character actual) Asserts that the actual value is a uppercase character.static Charactersinstance()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, toString
-
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.
-