Test Result : Scenario: Creating two roles with the same name

0 failures
7 tests
Took 3 ms.

All Tests

Test nameDurationStatus
And An exception was thrown0 msPassed
But I expect the exception "KapuaDuplicateNameException" with the text "An entity with the same name roleName already exists."0 msPassed
Given I prepare a role creator with name "roleName" and description "roleDescription123"0 msPassed
Scenario: Creating two roles with the same name3 msPassed
Then I create a new role entity from the existing creator0 msPassed
Then I prepare a role creator with name "roleName" and description "roleDescription"0 msPassed
When I create a new role entity from the existing creator0 msPassed