From e58ff95647191fdfaed11ad7fbd1d7962942c801 Mon Sep 17 00:00:00 2001 From: Vincent Paturet Date: Tue, 16 Jul 2024 15:36:52 +0200 Subject: [PATCH] Apply review suggestion --- .../netex/mapping/MultiModalStationMapperTest.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/opentripplanner/netex/mapping/MultiModalStationMapperTest.java b/src/test/java/org/opentripplanner/netex/mapping/MultiModalStationMapperTest.java index 435ba2878f2..218942d29ef 100644 --- a/src/test/java/org/opentripplanner/netex/mapping/MultiModalStationMapperTest.java +++ b/src/test/java/org/opentripplanner/netex/mapping/MultiModalStationMapperTest.java @@ -1,7 +1,8 @@ package org.opentripplanner.netex.mapping; +import static org.junit.jupiter.api.Assertions.*; + import java.util.List; -import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.opentripplanner.graph_builder.issue.api.DataImportIssueStore; import org.opentripplanner.graph_builder.issue.service.DefaultDataImportIssueStore; @@ -22,9 +23,9 @@ void testMissingCoordinates() { ); StopPlace stopPlace = new StopPlace(); stopPlace.setId(NetexTestDataSupport.STOP_PLACE_ID); - Assertions.assertNull(multiModalStationMapper.map(stopPlace, List.of())); - Assertions.assertEquals(1, dataIssueStore.listIssues().size()); - Assertions.assertEquals( + assertNull(multiModalStationMapper.map(stopPlace, List.of())); + assertEquals(1, dataIssueStore.listIssues().size()); + assertEquals( "MultiModalStationWithoutCoordinates", dataIssueStore.listIssues().getFirst().getType() );