Skip to content

Commit

Permalink
Remove exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
samleeflang committed Nov 11, 2024
1 parent 500b60e commit 843a9f9
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.BDDMockito.given;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.type.TypeReference;
import eu.dissco.orchestration.backend.domain.ObjectType;
import eu.dissco.orchestration.backend.properties.ApplicationProperties;
Expand Down Expand Up @@ -84,7 +83,7 @@ void setup() {
}

@Test
void testGenerateCreateEvent() throws JsonProcessingException {
void testGenerateCreateEvent() {
// Given
given(properties.getName()).willReturn(APP_NAME);
given(properties.getPid()).willReturn(APP_HANDLE);
Expand All @@ -103,7 +102,7 @@ void testGenerateCreateEvent() throws JsonProcessingException {
}

@Test
void testGenerateUpdateEvent() throws JsonProcessingException {
void testGenerateUpdateEvent() {
// Given
given(properties.getName()).willReturn(APP_NAME);
given(properties.getPid()).willReturn(APP_HANDLE);
Expand All @@ -123,7 +122,7 @@ void testGenerateUpdateEvent() throws JsonProcessingException {
}

@Test
void testGenerateTombstoneEventMas() throws Exception {
void testGenerateTombstoneEventMas() {
// Given
given(properties.getName()).willReturn(APP_NAME);
given(properties.getPid()).willReturn(APP_HANDLE);
Expand All @@ -143,7 +142,7 @@ void testGenerateTombstoneEventMas() throws Exception {
}

@Test
void testGenerateTombstoneEventSourceSystem() throws Exception {
void testGenerateTombstoneEventSourceSystem() {
// Given
given(properties.getName()).willReturn(APP_NAME);
given(properties.getPid()).willReturn(APP_HANDLE);
Expand All @@ -163,7 +162,7 @@ void testGenerateTombstoneEventSourceSystem() throws Exception {
}

@Test
void testGenerateTombstoneEventDataMapping() throws Exception {
void testGenerateTombstoneEventDataMapping() {
// Given
given(properties.getName()).willReturn(APP_NAME);
given(properties.getPid()).willReturn(APP_HANDLE);
Expand Down

0 comments on commit 843a9f9

Please sign in to comment.