package org.springblade.modules.martial.service.impl;

import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
import org.springblade.modules.martial.mapper.*;

import static org.junit.jupiter.api.Assertions.*;

@ExtendWith(MockitoExtension.class)
@DisplayName("ScheduleDispatchService Basic Tests")
class ScheduleDispatchServiceImplTest {

    @Mock
    private MartialScheduleGroupMapper scheduleGroupMapper;
    
    @Mock
    private MartialScheduleParticipantMapper scheduleParticipantMapper;
    
    @Mock
    private MartialScheduleDetailMapper scheduleDetailMapper;

    @InjectMocks
    private ScheduleDispatchServiceImpl scheduleDispatchService;

    @Test
    @DisplayName("Service should be instantiated")
    void serviceShouldBeInstantiated() {
        assertNotNull(scheduleDispatchService);
    }

    @Test
    @DisplayName("Should have required dependencies injected")
    void shouldHaveRequiredDependenciesInjected() {
        assertNotNull(scheduleGroupMapper);
        assertNotNull(scheduleParticipantMapper);
        assertNotNull(scheduleDetailMapper);
    }
}
