public void ReadXElement_Empty_ThrowsSyncDocumentException() { DailyPattern pattern = new DailyPattern(); XElement element = XElement.Parse("<NotDailyPattern />"); pattern.ReadXElement(element); }
public void ReadXElement_Empty_ThrowsArgumentNullException() { DailyPattern pattern = new DailyPattern(); XElement element = null; pattern.ReadXElement(element); }