package io.ljunggren.usps.api.util;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
import org.junit.jupiter.api.Test;
public class RateIndicatorUtilsTest {
@Test
void getTextReturnsMappedValueForKnownIndicator() {
assertEquals("Single Piece", RateIndicatorUtils.getText("SP"));
}
@Test
void getTextReturnsNullForUnknownIndicator() {
assertNull(RateIndicatorUtils.getText("ZZ"));
}
}