Пример #1
0
        public void Should_print_the_text()
        {
            var args = new OperandBuilder()
                       .WithArg(0)
                       .Build();

            Mockery
            .ZsciiStringReturns("some text");

            Operation.Execute(args);



            Mockery
            .Printed("some text")
            ;
        }
Пример #2
0
        public void Should_print_the_text()
        {
            var args = new OperandBuilder()
                       .WithArg(0)
                       .Build();

            Mockery
            .ZsciiStringReturns("some text");

            Operation.Execute(args);



            Mockery
            // TODO: Check that a packed address was used
            .Printed("some text")
            ;
        }