- assertEquals("Description should be 'test description'.", "test description", patternConstraint.getDescription());
- assertEquals("Error app tag shouldn't be null.", "invalid-regular-expression", patternConstraint.getErrorAppTag());
- assertTrue("Error message should be empty.", patternConstraint.getErrorMessage().isEmpty());
+ assertEquals("Description should be 'test description'.", "test description",
+ patternConstraint.getDescription());
+ assertEquals("Error app tag shouldn't be null.", "invalid-regular-expression",
+ patternConstraint.getErrorAppTag());
+ assertNotNull(patternConstraint.getErrorMessage());