verifyZeroInteractions(issueAuthorizationDao);
}
@Test
public void skip_redundant_add_component_user_permission_change() throws Exception {
ComponentDto project = ComponentTesting.newProjectDto().setId(10L).setKey("org.sample.Sample");
when(componentDao.getByKey(session, "org.sample.Sample")).thenReturn(project);
params = buildPermissionChangeParams("user", null, "org.sample.Sample", "codeviewer");
setUpComponentUserPermissions("user", 10L, "codeviewer");
MockUserSession.set().setLogin("admin").addProjectPermissions(UserRole.ADMIN, "org.sample.Sample");