And An exception was thrown | 0 ms | Passed |
But I expect the exception "KapuaDuplicateNameException" with the text "An entity with the same name roleName already exists." | 0 ms | Passed |
Given I prepare a role creator with name "roleName" and description "roleDescription123" | 0 ms | Passed |
Scenario: Creating two roles with the same name | 3 ms | Passed |
Then I create a new role entity from the existing creator | 0 ms | Passed |
Then I prepare a role creator with name "roleName" and description "roleDescription" | 0 ms | Passed |
When I create a new role entity from the existing creator | 0 ms | Passed |