package com.github.hotire.springcore.event;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
class EntityEventPublisherTest {

    @Autowired
    private EntityEventPublisher entityEventPublisher;

    @Test
    void publish() {
        // given
        final Entity entity = new Entity(1L);

        // when
        entityEventPublisher.publish(entity);

//      no assert
    }
}