Test Case Method Identifier
hasNumber
Test Items
The purpose of testing the hasNumber method is to check whether the value of an added attribute is a number or not.
Input Specification
To test the hasNumber method different inputs should be used such as an integer as value for the attribute, and a boolean as value for the attribute.
Output Specification
Assert that, in the first case, the value of the attribute is recognized as a number by hasNumber(), while in the second case, it shouldn't be recognized as a number.