Esempio n. 1
0
        public void TestProbeChildActor_ActorPath__ReturnsSameResultOnEveryCall()
        {
            //arrange
            TestProbeChildActor sut = CreateTestProbeChildActorWithoutSupervisorStrategy().UnderlyingActor;

            //act
            global::Akka.Actor.ActorPath result = sut.ActorPath;

            //assert
            result.Should().BeSameAs(sut.ActorPath);
        }
Esempio n. 2
0
        public void TestProbeChildActor_ActorPath_ReturnsCorrectActorPath()
        {
            //arrange
            TestActorRef <TestProbeChildActor> sut = CreateTestProbeChildActorWithoutSupervisorStrategy();

            //act
            global::Akka.Actor.ActorPath result = sut.UnderlyingActor.ActorPath;

            //assert
            result.Should().BeSameAs(sut.Path);
        }