public void GetOutgoingCode_Should_Return_Correct_Code() { const int One = 0x0001; const string OneString = "One"; var table = new TestTable(); table.AddOut(OneString, One); table.GetOutgoingCode(OneString).Should().Be(One); }