public void Count_GetCount_CountShouldBeEqualToAddedReaderCount() { ReaderRegister register = new ReaderRegister(); register.Add(new Reader("name")); register.Add(new Reader("n")); register.Count().Should().Be(2); }
public void ReaderRegister_CreatedReaderRegister_ReaderRegisterCountShouldBeNull() { ReaderRegister register = new ReaderRegister(); int expected = 0; int actual = register.Count(); Assert.AreEqual(expected, actual); }