add test for SerializationService
This commit is contained in:
@ -0,0 +1,32 @@
|
||||
package mops.gruppen2.service;
|
||||
|
||||
import mops.gruppen2.domain.event.Event;
|
||||
import mops.gruppen2.repository.EventRepository;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
class SerializationServiceTest {
|
||||
|
||||
EventRepository eventRepository;
|
||||
|
||||
@BeforeEach
|
||||
public void setUp(){
|
||||
}
|
||||
|
||||
|
||||
@Disabled
|
||||
@Test
|
||||
void applyEvent() {
|
||||
}
|
||||
|
||||
@Test
|
||||
void serializeEventTest(){
|
||||
Event event = new Event(1,1,"1");
|
||||
SerializationService serializationService = new SerializationService(eventRepository);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user