public void Name_SetNull_ReturnsEmpty() { var result = TextContainer.Parse(Properties.Resources.text_container_1); result.Name = null; Assert.AreEqual(string.Empty, result.Name); }
public void GetKey_NotFoundKey_ThrowsKeyNotFoundException() { var result = TextContainer.Parse(Properties.Resources.text_container_1); result.SetCulture(CultureInfo.InvariantCulture); result.GetText("invalidKey"); }