package com.cameleer.server.core.admin;

import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;

class AuditCategoryTest {
    @Test
    void alertingCategoriesPresent() {
        assertThat(AuditCategory.valueOf("ALERT_RULE_CHANGE")).isNotNull();
        assertThat(AuditCategory.valueOf("ALERT_SILENCE_CHANGE")).isNotNull();
    }

    @Test
    void deploymentCategoryPresent() {
        assertThat(AuditCategory.valueOf("DEPLOYMENT"))
            .isEqualTo(AuditCategory.DEPLOYMENT);
    }
}
