From e57ccb356df9ce5d9b381f8bb9d93375850ad935 Mon Sep 17 00:00:00 2001 From: dmccoystephenson Date: Tue, 5 Nov 2024 14:41:34 -0700 Subject: [PATCH] Added comment for new test case in TimTransmogrifierTest --- .../us/dot/its/jpo/ode/traveler/TimTransmogrifierTest.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/jpo-ode-svcs/src/test/java/us/dot/its/jpo/ode/traveler/TimTransmogrifierTest.java b/jpo-ode-svcs/src/test/java/us/dot/its/jpo/ode/traveler/TimTransmogrifierTest.java index 4deaa6f02..379f2d287 100644 --- a/jpo-ode-svcs/src/test/java/us/dot/its/jpo/ode/traveler/TimTransmogrifierTest.java +++ b/jpo-ode-svcs/src/test/java/us/dot/its/jpo/ode/traveler/TimTransmogrifierTest.java @@ -282,6 +282,13 @@ public void testConvertToXMLMessageFrame(@Capturing DateTimeUtils capturingDateT assertEquals(expected,actualXML); } + /** + * It should be noted that the 'prepare' section of this test largely follows the + * logic in the TimDepositController.depositTim() method. This is because the + * TimTransmogrifier.convertToXml() method is called by the TimDepositController + * and the TimDepositController is responsible for preparing the data that is + * passed to the TimTransmogrifier.convertToXml() method. + */ @Test public void testConvertToXML_VerifyPositionElementNotInCircleElementAfterConversion() throws IOException, JsonUtilsException, XmlUtilsException, ParseException { // prepare