assertThat(action.params()).hasSize(2);
assertThat(action.param("key").key()).isEqualTo("key");
assertThat(action.param("key").description()).isEqualTo("Key of the new rule");
assertThat(action.param("key").toString()).isEqualTo("key");
assertThat(action.param("severity").key()).isEqualTo("severity");
<BUG>assertThat(action.param("severity").description()).isNull();
}</BUG>
@Test
public void fail_if_duplicated_action_parameters() {
try {

assertThat(action.params()).hasSize(2);
assertThat(action.param("key").key()).isEqualTo("key");
assertThat(action.param("key").description()).isEqualTo("Key of the new rule");
assertThat(action.param("key").toString()).isEqualTo("key");
assertThat(action.param("severity").key()).isEqualTo("severity");
assertThat(action.param("severity").description()).isNull();
assertThat(action.param("severity").defaultValue()).isEqualTo("MAJOR");
}
@Test
public void fail_if_duplicated_action_parameters() {
try {
