Skip to content

Commit

Permalink
Update CarmaCloudMessageAmbassadorTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
kruegersp authored Apr 19, 2024
1 parent 35d5e0c commit 8cd7f90
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(100);
ambassador.processTimeAdvanceGrant(1000);
// Verify received messages were attempted to be pulled from CARMA Cloud Registration Receiver mock
verify(receiverMock, times(1)).getReceivedMessages();
verify(rtiMock, times(1)).requestAdvanceTime(eq(1000L), eq(0L), eq((byte) 2));
Expand Down

0 comments on commit 8cd7f90

Please sign in to comment.