Ejemplo n.º 1
0
        public void WhenReadHistoryIsCalledWithOneEntry_ReplyHistoryContainsThatEntry()
        {
            string       token       = Given_ReadToEndReturnsOneToken();
            ReplyHistory history     = historian.ReadHistory();
            bool         stringFound = history.LogContains(token);

            Assert.That(stringFound, Is.True);
        }
Ejemplo n.º 2
0
 public void Setup()
 {
     history   = new ReplyHistory();
     commentID = autoFixture.Create <string>();
 }
Ejemplo n.º 3
0
        public void WhenReadHistoryIsCalledWithNoEntries_ReplyHistoryIsEmpty()
        {
            ReplyHistory history = historian.ReadHistory();

            Assert.That(history.ToList().Count, Is.EqualTo(0));
        }