package tech.easyflow.chatlog.support;

import org.junit.Assert;
import org.junit.Test;

import java.time.YearMonth;

public class ChatTableRouterTest {

    private final ChatTableRouter router = new ChatTableRouter();

    @Test
    public void shouldResolveSessionTable() {
        Assert.assertEquals("chat_session", router.resolveSessionTable());
    }

    @Test
    public void shouldResolveMonthLogTable() {
        Assert.assertEquals("chat_log_202604", router.resolveLogTable(YearMonth.of(2026, 4)));
    }
}
