test: adjust test to Trip parsing

This commit is contained in:
dancingCycle 2022-02-02 05:34:20 -05:00
parent 5cc3378420
commit 8ae098b124
1 changed files with 7 additions and 2 deletions

View File

@ -20,8 +20,13 @@ class TelegramParserImplTest {
"(NpmTCPAcceptedChannel)", "(/195.30.103.89:58713)",
"sent", new Communication(new Header(new Sender("<I#WOL/234"),
new Receiver("B#")), new Telegram(
new TelegramHdr(1, "1.8", 1),
new LocationMessage(new Position(87263783, 529019052, 0, 420)))));
new TelegramHdr("1", "1.8", "1"),
new LocationMsg(new Position("netPoint", "relPosition",
"87263783", "529019052", "0",
"420", "hdg"), "driverNumber",
new Trip("blickNo", "lineNo", "tripNo",
"routeNo", "deviation", "loadDegree",
"destinationNo", "tripType")))));
assertThat(EntityParserFactory.createEntityParser().parse(
"2021-11-30 11:24:13,438 INFO " +