Skip to content

Commit

Permalink
Remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
mathecruz committed Jul 2, 2024
1 parent fa1d4c0 commit e56630f
Showing 1 changed file with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -437,27 +437,6 @@ public void invokeActorMethodWithoutDataWithVoidReturnType() {
Assertions.assertNull(emptyResponse);
}

@Test
public void invokeMethodWithZonedDateTime() {
MyData saveData = new MyData();
saveData.setPropertyA("valueA");
saveData.setPropertyB("valueB");
saveData.setMyData(saveData);
saveData.setDate(ZonedDateTime.now());

final ActorClient daprClient = mock(ActorClient.class);
when(daprClient.invoke(anyString(), anyString(), anyString(), Mockito.isNotNull()))
.thenReturn(Mono.empty());

final ActorProxy actorProxy = new ActorProxyImpl(
"myActorType",
new ActorId("100"),
new DefaultObjectSerializer(),
daprClient);

assertThrows(DaprException.class, () -> actorProxy.invokeMethod("getDate", saveData));
}

interface Actor {
MyData getData();

Expand Down

0 comments on commit e56630f

Please sign in to comment.