public void ReadByte_ValidDocument_ReturnsValidByte(string section, string key, byte defaultValue, byte expected) { IniDocument document = new FakeIniDocument(); document.Load(CreateIniString()); byte actual = document.ReadByte(section, key, defaultValue); Assert.AreEqual(expected, actual); }