コード例 #1
0
        public void ShouldSearchAllBooks()
        {
            fixture.ApplicationStarted();
            fixture.HasSampleBooks();

            fixture.UserEnters("search");

            fixture.Then();
            fixture.SystemShows(LibraryFixture.Title("Karolcia"));
            fixture.SystemShows(LibraryFixture.Author("Maria Kruger"));
            fixture.SystemShows(LibraryFixture.Title("Renesans"));
            fixture.SystemShows(LibraryFixture.Author("Jerzy Konieczny"));
            fixture.SystemShowsAtLeastLines(fixture.StartBooksCount);
        }