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 12, 2024
1 parent 2c635ae commit a8f5c6a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,10 @@ public void testProcessInteraction() throws InternalFederateException {
@Test
public void testProcessTimeAdvanceGrant() throws InternalFederateException, IllegalValueException, NoSuchFieldException, SecurityException
{
//Test processTimeAdvanceGrant for Infrastructure Registration
//Test processTimeAdvanceGrant for CARMA Cloud Registration
ambassador.processTimeAdvanceGrant(100);
// Verify received messages were attempted to be pulled from Infrastructure Registration Receiver mock
// 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));
}
}

0 comments on commit a8f5c6a

Please sign in to comment.