Skip to content

Commit

Permalink
Update CarmaCloudMessageAmbassadorTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
chengyuan0124 committed May 1, 2024
1 parent ac911a5 commit 344a4b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public void testInitialize() throws InternalFederateException, IllegalValueExcep
public void testProcessTimeAdvanceGrant() throws InternalFederateException, IllegalValueException, NoSuchFieldException, SecurityException
{
//Test processTimeAdvanceGrant for CARMA Cloud Registration
ambassador.processTimeAdvanceGrant(10);
ambassador.processTimeAdvanceGrant(100000000L);
// Verify received messages were attempted to be pulled from CARMA Cloud Registration Receiver mock
verify(receiverMock, times(1)).getReceivedMessages();
verify(rtiMock, times(1)).requestAdvanceTime(100000000L, 0L, ((byte) 2));
Expand Down

0 comments on commit 344a4b4

Please sign in to comment.