package dev.lions.unionflow.server.api.enums.wave;

import static org.assertj.core.api.Assertions.assertThat;

import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;

/**
 * Tests unitaires pour TypeTransactionWave.
 *
 * @author UnionFlow Team
 * @version 1.0
 * @since 2025-12-09
 */
@DisplayName("Tests TypeTransactionWave")
class TypeTransactionWaveTest {

  @Test
  @DisplayName("Tous les types de transaction Wave doivent avoir un libellé")
  void testTousLesTypesOntLibelle() {
    for (TypeTransactionWave type : TypeTransactionWave.values()) {
      assertThat(type.getLibelle()).isNotNull().isNotBlank();
    }
  }

  @Test
  @DisplayName("Toutes les valeurs de l'enum doivent être présentes")
  void testToutesLesValeurs() {
    assertThat(TypeTransactionWave.values().length).isGreaterThan(0);
    for (TypeTransactionWave type : TypeTransactionWave.values()) {
      assertThat(type).isNotNull();
      assertThat(type.name()).isNotBlank();
    }
  }
}

