Exemple #1
0
        public void TestProbeActor_ActorPath__ReturnsSameResultOnEveryCall()
        {
            //arrange
            TestProbeActor sut = CreateTestProbeActor().UnderlyingActor;

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

            //assert
            result.Should().BeSameAs(sut.ActorPath);
        }
Exemple #2
0
        public void TestProbeActor_ActorPath_ReturnsCorrectActorPath()
        {
            //arrange
            TestActorRef <TestProbeActor> sut = CreateTestProbeActor();

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

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