Beispiel #1
0
            protected override void Context()
            {
                base.Context();

                A.CallTo(() => GreetingWithNameCommand.Execute())
                .Invokes(() => GreetingWithNameCommand.Name.Should().Be(SampleInput))
                .Returns(ExpectedMessage);
            }
Beispiel #2
0
            protected override void Context()
            {
                base.Context();

                Sut = new GreetingWithNameCommand();
            }
Beispiel #3
0
            protected override void Context()
            {
                base.Context();

                Sut = new GreetingWithNameCommand();
            }