14-FixDeclarationRedundancyIssues

This commit is contained in:
Adrian-Devries 2025-04-24 12:54:04 +02:00
parent 7a81f0c042
commit 46fdd703c3
43 changed files with 90 additions and 50 deletions

View file

@ -20,7 +20,6 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.assertThrows;
import java.io.Serializable;
import java.net.URISyntaxException;
import java.net.URL;
import org.junit.Before;
@ -94,12 +93,12 @@ public class ConversionServiceTest {
}
@Test
public void testUnmarshalUnknownType() throws URISyntaxException {
public void testUnmarshalUnknownType() {
assertThrows(ConversionService.ConversionException.class, () -> this.service.readXml(Simple.SCENARIOS, ConversionService.class));
}
@Test
public void testUnmarshalWithoutType() throws URISyntaxException {
public void testUnmarshalWithoutType() {
assertThrows(ConversionService.ConversionException.class, () -> this.service.readXml(Simple.SCENARIOS, null));
}