+ testkit Add java.time.Duration to testkit's javadsl
This commit is contained in:
parent
3685ce619e
commit
e45a638ce0
9 changed files with 311 additions and 22 deletions
|
|
@ -741,7 +741,7 @@ public class ActorDocTest extends AbstractJavaTest {
|
|||
{
|
||||
watch(b);
|
||||
system.stop(a);
|
||||
assertEquals(expectMsgClass(Duration.create(2, TimeUnit.SECONDS), Terminated.class).actor(), b);
|
||||
assertEquals(expectMsgClass(java.time.Duration.ofSeconds(2), Terminated.class).actor(), b);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue