Пример #1
0
        public void Root_MustBeSetToRootActivity()
        {
            WriteLine writeLine = new WriteLine();

            var testee = new RootActivityParameter(writeLine);

            testee.Root.Should().BeSameAs(writeLine);
        }
Пример #2
0
        public void ShouldInherit_MustReturnTrue()
        {
            var testee = new RootActivityParameter(new WriteLine());

            testee.ShouldInherit.Should().BeTrue();
        }
Пример #3
0
        public void Constructor_MustUseConstantName()
        {
            var testee = new RootActivityParameter(new WriteLine());

            testee.Name.Should().Be("RootActivity");
        }