Пример #1
0
        public void should_be_able_to_set_title_and_title_prefix()
        {
            var sut = new TicTacToeValueStory();

            sut.Title.ShouldBe("Tic Tac Toe Story");
            sut.TitlePrefix.ShouldBe("User Story 1:");
        }
Пример #2
0
        public void should_return_overridden_properties()
        {
            var sut = new TicTacToeValueStory();

            sut.AsA.ShouldBe("As a player");
            sut.IWant.ShouldBe("I want to have a tic tac toe game");
        }
Пример #3
0
        public void should_provide_omitted_clause_prefixes()
        {
            var sut = new TicTacToeValueStory();

            sut.InOrderTo.ShouldBe("In order to waste some time!");
        }