!3 We test posting three new entries to the blog and deleting them by their index First we delete all entries from the blog and we verify that we have 0 entries. !|BloggerFixtures.DeleteAllEntries| |num_entries?| |0| We post 3 new entries and we verify each time that we have the correct number of entries. !|BloggerFixtures.PostNewEntry| |title|content|valid?|num_entries?| |BloggerFixtures.PostThreeEntries Entry #1 Title|BloggerFixtures.PostThreeEntries Entry #1 Content|true|1| |BloggerFixtures.PostThreeEntries Entry #2 Title|BloggerFixtures.PostThreeEntries Entry #2 Content|true|2| |BloggerFixtures.PostThreeEntries Entry #3 Title|BloggerFixtures.PostThreeEntries Entry #3 Content|true|3| We verify that each of the 3 entries has the title and the content we indicated. Note that third entry should be on top, followed by the second and the first (the entries are ordered most recently created first). !|BloggerFixtures.GetEntryTitleContent| |entry_index|title?|content?| |1|BloggerFixtures.PostThreeEntries Entry #3 Title|BloggerFixtures.PostThreeEntries Entry #3 Content| |2|BloggerFixtures.PostThreeEntries Entry #2 Title|BloggerFixtures.PostThreeEntries Entry #2 Content| |3|BloggerFixtures.PostThreeEntries Entry #1 Title|BloggerFixtures.PostThreeEntries Entry #1 Content| We delete the entry with index 3 by passing 3 as a parameter to the !-DeleteEntry-! fixture. We verify that we have 2 entries left. !|BloggerFixtures.DeleteEntry|3| |valid?|num_entries?| |true|2| We verify that each of the 2 entries that are left has the title and the content we indicated. We should have !-Entry #3-! first, followed by !-Entry #2-!. !|BloggerFixtures.GetEntryTitleContent| |entry_index|title?|content?| |1|BloggerFixtures.PostThreeEntries Entry #3 Title|BloggerFixtures.PostThreeEntries Entry #3 Content| |2|BloggerFixtures.PostThreeEntries Entry #2 Title|BloggerFixtures.PostThreeEntries Entry #2 Content| We delete the bottom entry by passing 2 as a parameter to the !-DeleteEntry-! fixture. We verify that we have 1 entry left. !|BloggerFixtures.DeleteEntry|2| |valid?|num_entries?| |true|1| We verify that entry that is left has the title and the content we indicated (it should be !-Entry #3-!). !|BloggerFixtures.GetEntryTitleContent| |entry_index|title?|content?| |1|BloggerFixtures.PostThreeEntries Entry #3 Title|BloggerFixtures.PostThreeEntries Entry #3 Content| Finally, we delete the only entry that is left and we verify that we have 0 entries. !|BloggerFixtures.DeleteEntry|1| |valid?|num_entries?| |true|0|