|
1
|
|
package com.seshira.events.event.domain.services; |
|
2
|
|
|
|
3
|
|
import com.seshira.events.common.exception.BadInputException; |
|
4
|
|
import com.seshira.events.event.domain.models.*; |
|
5
|
|
import com.seshira.events.event.domain.services.models.CreateEventPayload; |
|
6
|
|
import org.springframework.stereotype.Service; |
|
7
|
|
|
|
8
|
|
import java.util.UUID; |
|
9
|
|
|
|
10
|
|
@Service |
|
11
|
|
public class CreateEventService { |
|
12
|
|
|
|
13
|
|
private void updateEventFromPayload(Event event, CreateEventPayload createEventPayload) { |
|
14
|
1
1. updateEventFromPayload : removed call to com/seshira/events/event/domain/models/Event::setName → SURVIVED
|
event.setName(createEventPayload.name()); |
|
15
|
1
1. updateEventFromPayload : removed call to com/seshira/events/event/domain/models/Event::setDescription → KILLED
|
event.setDescription(createEventPayload.description()); |
|
16
|
1
1. updateEventFromPayload : removed call to com/seshira/events/event/domain/models/Event::setStartDate → KILLED
|
event.setStartDate(createEventPayload.startDate()); |
|
17
|
1
1. updateEventFromPayload : removed call to com/seshira/events/event/domain/models/Event::setEndDate → KILLED
|
event.setEndDate(createEventPayload.endDate()); |
|
18
|
1
1. updateEventFromPayload : removed call to com/seshira/events/event/domain/models/Event::setLocationName → KILLED
|
event.setLocationName(createEventPayload.locationName()); |
|
19
|
1
1. updateEventFromPayload : removed call to com/seshira/events/event/domain/models/Event::setLocationAddress → KILLED
|
event.setLocationAddress(createEventPayload.locationAddress()); |
|
20
|
1
1. updateEventFromPayload : removed call to com/seshira/events/event/domain/models/Event::setOrganizerName → KILLED
|
event.setOrganizerName(createEventPayload.organizerName()); |
|
21
|
1
1. updateEventFromPayload : removed call to com/seshira/events/event/domain/models/Event::setOrganizerUrl → KILLED
|
event.setOrganizerUrl(createEventPayload.organizerUrl()); |
|
22
|
1
1. updateEventFromPayload : removed call to com/seshira/events/event/domain/models/Event::setUrl → KILLED
|
event.setUrl(createEventPayload.url()); // link to the event page |
|
23
|
1
1. updateEventFromPayload : removed call to com/seshira/events/event/domain/models/Event::setImage → KILLED
|
event.setImage(createEventPayload.image()); // URL of an image |
|
24
|
|
} |
|
25
|
|
|
|
26
|
|
public EventSeries createEventSeries(CreateEventPayload createEventPayload, Event parent) { |
|
27
|
|
EventSeries event = new EventSeries( |
|
28
|
|
UUID.randomUUID(), |
|
29
|
|
createEventPayload.name() |
|
30
|
|
); |
|
31
|
1
1. createEventSeries : removed call to com/seshira/events/event/domain/services/CreateEventService::updateEventFromPayload → SURVIVED
|
updateEventFromPayload(event, createEventPayload); |
|
32
|
1
1. createEventSeries : removed call to com/seshira/events/event/domain/models/EventSeries::setParentEvent → SURVIVED
|
event.setParentEvent(parent); |
|
33
|
1
1. createEventSeries : replaced return value with null for com/seshira/events/event/domain/services/CreateEventService::createEventSeries → KILLED
|
return event; |
|
34
|
|
} |
|
35
|
|
|
|
36
|
|
public InterventionEducationEvent createIntervention(CreateEventPayload createEventPayload, Event parent) { |
|
37
|
4
1. createIntervention : removed conditional - replaced equality check with true → KILLED
2. createIntervention : removed conditional - replaced equality check with true → KILLED
3. createIntervention : removed conditional - replaced equality check with false → KILLED
4. createIntervention : removed conditional - replaced equality check with false → KILLED
|
boolean parentIsNullOrNotSession = parent == null || parent.getAdditionalType() != EventAdditionalType.SESSION; |
|
38
|
2
1. createIntervention : removed conditional - replaced equality check with false → KILLED
2. createIntervention : removed conditional - replaced equality check with true → KILLED
|
if (parentIsNullOrNotSession) |
|
39
|
|
throw new BadInputException("An intervention can only be a sub-event of a Session"); |
|
40
|
|
InterventionEducationEvent event = new InterventionEducationEvent(UUID.randomUUID(), createEventPayload.name()); |
|
41
|
1
1. createIntervention : removed call to com/seshira/events/event/domain/services/CreateEventService::updateEventFromPayload → SURVIVED
|
updateEventFromPayload(event, createEventPayload); |
|
42
|
1
1. createIntervention : removed call to com/seshira/events/event/domain/models/InterventionEducationEvent::setParentEvent → KILLED
|
event.setParentEvent(parent); |
|
43
|
1
1. createIntervention : replaced return value with null for com/seshira/events/event/domain/services/CreateEventService::createIntervention → KILLED
|
return event; |
|
44
|
|
} |
|
45
|
|
|
|
46
|
|
public SessionEducationEvent createSession(CreateEventPayload createEventPayload, Event parent) { |
|
47
|
4
1. createSession : removed conditional - replaced equality check with false → KILLED
2. createSession : removed conditional - replaced equality check with true → KILLED
3. createSession : removed conditional - replaced equality check with false → KILLED
4. createSession : removed conditional - replaced equality check with true → KILLED
|
boolean parentIsNullOrCongress = parent == null || parent.getAdditionalType() != EventAdditionalType.CONGRESS; |
|
48
|
2
1. createSession : removed conditional - replaced equality check with true → KILLED
2. createSession : removed conditional - replaced equality check with false → KILLED
|
if (parentIsNullOrCongress) |
|
49
|
|
throw new BadInputException("A session can only be a sub-event of a Congress"); |
|
50
|
|
SessionEducationEvent event = new SessionEducationEvent( |
|
51
|
|
UUID.randomUUID(), |
|
52
|
|
createEventPayload.name() |
|
53
|
|
); |
|
54
|
1
1. createSession : removed call to com/seshira/events/event/domain/services/CreateEventService::updateEventFromPayload → SURVIVED
|
updateEventFromPayload(event, createEventPayload); |
|
55
|
1
1. createSession : removed call to com/seshira/events/event/domain/models/SessionEducationEvent::setParentEvent → KILLED
|
event.setParentEvent(parent); |
|
56
|
1
1. createSession : replaced return value with null for com/seshira/events/event/domain/services/CreateEventService::createSession → KILLED
|
return event; |
|
57
|
|
} |
|
58
|
|
|
|
59
|
|
public CongressEducationEvent createCongress(CreateEventPayload createEventPayload, Event parent) { |
|
60
|
4
1. createCongress : removed conditional - replaced equality check with true → KILLED
2. createCongress : removed conditional - replaced equality check with true → KILLED
3. createCongress : removed conditional - replaced equality check with false → KILLED
4. createCongress : removed conditional - replaced equality check with false → KILLED
|
boolean parentIsNotNullAndNotEventSeries = parent != null && parent.getAdditionalType() != EventAdditionalType.EVENT_SERIES; |
|
61
|
2
1. createCongress : removed conditional - replaced equality check with true → KILLED
2. createCongress : removed conditional - replaced equality check with false → KILLED
|
if (parentIsNotNullAndNotEventSeries) |
|
62
|
|
throw new BadInputException("A congress can only be a sub-event of an EventSeries"); |
|
63
|
|
CongressEducationEvent event = new CongressEducationEvent( |
|
64
|
|
UUID.randomUUID(), |
|
65
|
|
createEventPayload.name()); |
|
66
|
1
1. createCongress : removed call to com/seshira/events/event/domain/services/CreateEventService::updateEventFromPayload → SURVIVED
|
updateEventFromPayload(event, createEventPayload); |
|
67
|
1
1. createCongress : removed call to com/seshira/events/event/domain/models/CongressEducationEvent::setParentEvent → SURVIVED
|
event.setParentEvent(parent); |
|
68
|
1
1. createCongress : replaced return value with null for com/seshira/events/event/domain/services/CreateEventService::createCongress → KILLED
|
return event; |
|
69
|
|
} |
|
70
|
|
|
|
71
|
|
public Event createEvent(CreateEventPayload createEventPayload, Event parent) { |
|
72
|
|
Event event = new Event( |
|
73
|
|
UUID.randomUUID(), |
|
74
|
|
createEventPayload.name() |
|
75
|
|
); |
|
76
|
1
1. createEvent : removed call to com/seshira/events/event/domain/services/CreateEventService::updateEventFromPayload → KILLED
|
updateEventFromPayload(event, createEventPayload); |
|
77
|
1
1. createEvent : removed call to com/seshira/events/event/domain/models/Event::setParentEvent → KILLED
|
event.setParentEvent(parent); |
|
78
|
1
1. createEvent : replaced return value with null for com/seshira/events/event/domain/services/CreateEventService::createEvent → KILLED
|
return event; |
|
79
|
|
} |
|
80
|
|
} |
| | Mutations |
| 14 |
|
1.1 Location : updateEventFromPayload Killed by : none removed call to com/seshira/events/event/domain/models/Event::setName → SURVIVED
Covering tests
Covered by tests:
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:CongressCanBeCreated]/[method:testCreateCongress()]
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateInterventionShallFailIfNoOrIncorrectParentType()]
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:EventCanBeCreated]/[method:testCreateEvent()]
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:EventCanBeCreated]/[method:testCreateEventWithParent()]
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:CongressCanBeCreated]/[method:testCreateCongressWithParent()]
- com.seshira.events.event.application.services.GetEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.GetEventServiceTest]/[nested-class:EventChildrenCanBeRetrieved]/[method:testCreateEvent()]
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:EventCanBeCreated]/[method:testCreateEventWithAllFields()]
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateIntervention()]
- com.seshira.events.event.application.services.FilterEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.FilterEventServiceTest]/[nested-class:EventsCanBeFilteredByAdditionalType]/[method:testReturnAllEventsIfAdditionalTypeIsNull()]
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:SessionCanBeCreated]/[method:testCreateSession()]
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:SessionCanBeCreated]/[method:testCreateSessionShallFailIfNoOrIncorrectParentType()]
|
| 15 |
|
1.1 Location : updateEventFromPayload Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:EventCanBeCreated]/[method:testCreateEventWithAllFields()] removed call to com/seshira/events/event/domain/models/Event::setDescription → KILLED
|
| 16 |
|
1.1 Location : updateEventFromPayload Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:EventCanBeCreated]/[method:testCreateEventWithAllFields()] removed call to com/seshira/events/event/domain/models/Event::setStartDate → KILLED
|
| 17 |
|
1.1 Location : updateEventFromPayload Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:EventCanBeCreated]/[method:testCreateEventWithAllFields()] removed call to com/seshira/events/event/domain/models/Event::setEndDate → KILLED
|
| 18 |
|
1.1 Location : updateEventFromPayload Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:EventCanBeCreated]/[method:testCreateEventWithAllFields()] removed call to com/seshira/events/event/domain/models/Event::setLocationName → KILLED
|
| 19 |
|
1.1 Location : updateEventFromPayload Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:EventCanBeCreated]/[method:testCreateEventWithAllFields()] removed call to com/seshira/events/event/domain/models/Event::setLocationAddress → KILLED
|
| 20 |
|
1.1 Location : updateEventFromPayload Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:EventCanBeCreated]/[method:testCreateEventWithAllFields()] removed call to com/seshira/events/event/domain/models/Event::setOrganizerName → KILLED
|
| 21 |
|
1.1 Location : updateEventFromPayload Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:EventCanBeCreated]/[method:testCreateEventWithAllFields()] removed call to com/seshira/events/event/domain/models/Event::setOrganizerUrl → KILLED
|
| 22 |
|
1.1 Location : updateEventFromPayload Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:EventCanBeCreated]/[method:testCreateEventWithAllFields()] removed call to com/seshira/events/event/domain/models/Event::setUrl → KILLED
|
| 23 |
|
1.1 Location : updateEventFromPayload Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:EventCanBeCreated]/[method:testCreateEventWithAllFields()] removed call to com/seshira/events/event/domain/models/Event::setImage → KILLED
|
| 31 |
|
1.1 Location : createEventSeries Killed by : none removed call to com/seshira/events/event/domain/services/CreateEventService::updateEventFromPayload → SURVIVED
Covering tests
Covered by tests:
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:CongressCanBeCreated]/[method:testCreateCongressWithParent()]
|
| 32 |
|
1.1 Location : createEventSeries Killed by : none removed call to com/seshira/events/event/domain/models/EventSeries::setParentEvent → SURVIVED
Covering tests
Covered by tests:
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:CongressCanBeCreated]/[method:testCreateCongressWithParent()]
|
| 33 |
|
1.1 Location : createEventSeries Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:CongressCanBeCreated]/[method:testCreateCongressWithParent()] replaced return value with null for com/seshira/events/event/domain/services/CreateEventService::createEventSeries → KILLED
|
| 37 |
|
1.1 Location : createIntervention Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateInterventionShallFailIfNoOrIncorrectParentType()] removed conditional - replaced equality check with true → KILLED
2.2 Location : createIntervention Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateIntervention()] removed conditional - replaced equality check with true → KILLED
3.3 Location : createIntervention Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateIntervention()] removed conditional - replaced equality check with false → KILLED
4.4 Location : createIntervention Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateInterventionShallFailIfNoOrIncorrectParentType()] removed conditional - replaced equality check with false → KILLED
|
| 38 |
|
1.1 Location : createIntervention Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateInterventionShallFailIfNoOrIncorrectParentType()] removed conditional - replaced equality check with false → KILLED
2.2 Location : createIntervention Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateIntervention()] removed conditional - replaced equality check with true → KILLED
|
| 41 |
|
1.1 Location : createIntervention Killed by : none removed call to com/seshira/events/event/domain/services/CreateEventService::updateEventFromPayload → SURVIVED
Covering tests
Covered by tests:
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateIntervention()]
|
| 42 |
|
1.1 Location : createIntervention Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateIntervention()] removed call to com/seshira/events/event/domain/models/InterventionEducationEvent::setParentEvent → KILLED
|
| 43 |
|
1.1 Location : createIntervention Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateIntervention()] replaced return value with null for com/seshira/events/event/domain/services/CreateEventService::createIntervention → KILLED
|
| 47 |
|
1.1 Location : createSession Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateIntervention()] removed conditional - replaced equality check with false → KILLED
2.2 Location : createSession Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateIntervention()] removed conditional - replaced equality check with true → KILLED
3.3 Location : createSession Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:SessionCanBeCreated]/[method:testCreateSessionShallFailIfNoOrIncorrectParentType()] removed conditional - replaced equality check with false → KILLED
4.4 Location : createSession Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:SessionCanBeCreated]/[method:testCreateSessionShallFailIfNoOrIncorrectParentType()] removed conditional - replaced equality check with true → KILLED
|
| 48 |
|
1.1 Location : createSession Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateIntervention()] removed conditional - replaced equality check with true → KILLED
2.2 Location : createSession Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:SessionCanBeCreated]/[method:testCreateSessionShallFailIfNoOrIncorrectParentType()] removed conditional - replaced equality check with false → KILLED
|
| 54 |
|
1.1 Location : createSession Killed by : none removed call to com/seshira/events/event/domain/services/CreateEventService::updateEventFromPayload → SURVIVED
Covering tests
Covered by tests:
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateIntervention()]
- com.seshira.events.event.application.services.FilterEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.FilterEventServiceTest]/[nested-class:EventsCanBeFilteredByAdditionalType]/[method:testReturnAllEventsIfAdditionalTypeIsNull()]
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:SessionCanBeCreated]/[method:testCreateSession()]
|
| 55 |
|
1.1 Location : createSession Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:SessionCanBeCreated]/[method:testCreateSession()] removed call to com/seshira/events/event/domain/models/SessionEducationEvent::setParentEvent → KILLED
|
| 56 |
|
1.1 Location : createSession Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateIntervention()] replaced return value with null for com/seshira/events/event/domain/services/CreateEventService::createSession → KILLED
|
| 60 |
|
1.1 Location : createCongress Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:CongressCanBeCreated]/[method:testCreateCongressWithParent()] removed conditional - replaced equality check with true → KILLED
2.2 Location : createCongress Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:CongressCanBeCreated]/[method:testCreateCongress()] removed conditional - replaced equality check with true → KILLED
3.3 Location : createCongress Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:CongressCanBeCreated]/[method:testCreateCongressWithParent()] removed conditional - replaced equality check with false → KILLED
4.4 Location : createCongress Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:CongressCanBeCreated]/[method:testCreateCongressWithParent()] removed conditional - replaced equality check with false → KILLED
|
| 61 |
|
1.1 Location : createCongress Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:CongressCanBeCreated]/[method:testCreateCongress()] removed conditional - replaced equality check with true → KILLED
2.2 Location : createCongress Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:CongressCanBeCreated]/[method:testCreateCongressWithParent()] removed conditional - replaced equality check with false → KILLED
|
| 66 |
|
1.1 Location : createCongress Killed by : none removed call to com/seshira/events/event/domain/services/CreateEventService::updateEventFromPayload → SURVIVED
Covering tests
Covered by tests:
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:CongressCanBeCreated]/[method:testCreateCongress()]
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:CongressCanBeCreated]/[method:testCreateCongressWithParent()]
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateIntervention()]
- com.seshira.events.event.application.services.FilterEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.FilterEventServiceTest]/[nested-class:EventsCanBeFilteredByAdditionalType]/[method:testReturnAllEventsIfAdditionalTypeIsNull()]
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:SessionCanBeCreated]/[method:testCreateSession()]
|
| 67 |
|
1.1 Location : createCongress Killed by : none removed call to com/seshira/events/event/domain/models/CongressEducationEvent::setParentEvent → SURVIVED
Covering tests
Covered by tests:
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:CongressCanBeCreated]/[method:testCreateCongress()]
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:CongressCanBeCreated]/[method:testCreateCongressWithParent()]
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateIntervention()]
- com.seshira.events.event.application.services.FilterEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.FilterEventServiceTest]/[nested-class:EventsCanBeFilteredByAdditionalType]/[method:testReturnAllEventsIfAdditionalTypeIsNull()]
- com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:SessionCanBeCreated]/[method:testCreateSession()]
|
| 68 |
|
1.1 Location : createCongress Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:CongressCanBeCreated]/[method:testCreateCongress()] replaced return value with null for com/seshira/events/event/domain/services/CreateEventService::createCongress → KILLED
|
| 76 |
|
1.1 Location : createEvent Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:EventCanBeCreated]/[method:testCreateEventWithAllFields()] removed call to com/seshira/events/event/domain/services/CreateEventService::updateEventFromPayload → KILLED
|
| 77 |
|
1.1 Location : createEvent Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:EventCanBeCreated]/[method:testCreateEventWithParent()] removed call to com/seshira/events/event/domain/models/Event::setParentEvent → KILLED
|
| 78 |
|
1.1 Location : createEvent Killed by : com.seshira.events.event.application.services.CreateEventServiceTest.[engine:junit-jupiter]/[class:com.seshira.events.event.application.services.CreateEventServiceTest]/[nested-class:InterventionCanBeCreated]/[method:testCreateInterventionShallFailIfNoOrIncorrectParentType()] replaced return value with null for com/seshira/events/event/domain/services/CreateEventService::createEvent → KILLED
|