public void AsActionUnit_ShouldReturnCorrectValue(Mock <IAction <object> > action)
        {
            //act
            var actual = ActionExtensions.AsActionUnit(action.Object);

            //assert
            actual.Should().BeAssignableTo <IAction <Unit> >();
            actual.Name.Should().Be(action.Object.Name);
        }
        public void AsActionUnit_ExecuteGiven_ShouldCallExecuteGivenOnSourceAction(Mock <IAction <object> > action, IActor actor)
        {
            //act
            var actual = ActionExtensions.AsActionUnit(action.Object);

            actual.ExecuteGivenAs(actor);
            //assert
            action.Verify(a => a.ExecuteGivenAs(actor));
        }