Test Result : Scenario: Changing role name so it is too long

0 failures
6 tests
Took 2 ms.

All Tests

Test nameDurationStatus
And An exception was thrown0 msPassed
But I expect the exception "KapuaIllegalArgumentException" with the text "Value over than allowed max length. Max length is 255."0 msPassed
Given I prepare a role creator with name "roleName" and description "roleDescription"0 msPassed
Scenario: Changing role name so it is too long2 msPassed
Then I update the role name to "roleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleNameroleName"0 msPassed
When I create a new role entity from the existing creator0 msPassed