Skip to content

Commit

Permalink
Update CarmaCloudMessageAmbassadorTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
kruegersp authored May 2, 2024
1 parent 7742662 commit 1ab87e3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ public void testInitialize() throws InternalFederateException, IllegalValueExcep
@Test
public void testProcessInteraction() throws InternalFederateException {
Interaction interactionMock = mock(Interaction.class);
when(interactionMock.getTime()).thenReturn(13L);
when(interactionMock.getTypeId()).thenReturn("testProcessInteraction");
ambassador.processInteraction(interactionMock);
verify(interactionMock).getTypeId();
Expand Down

0 comments on commit 1ab87e3

Please sign in to comment.