Пример #1
0
        public void Should_return_property_length()
        {
            byte propInfo = 123;
            var  expected = ZProperty.GetPropertySize(propInfo);

            Mockery
            .SetNextGet(propInfo);

            var args = new OperandBuilder()
                       .WithArg(AnyVariable)
                       .Build();

            Operation.Execute(args);

            Mockery
            .ResultStored(expected);
        }