public void GetDateTimeValue_returns_existing_value() { // arrange TagCompound target; DateTime expected; DateTime actual; string name; expected = new DateTime(2016, 12, 27, 21, 06, 00); name = "alpha"; target = new TagCompound(); target.Value.Add(name, expected); // act actual = target.GetDateTimeValue(name); // assert Assert.AreEqual(expected, actual); }