public void ShouldGetTheName() { var dayOfWeek = DayOfWeek.Sunday; var name = "name"; var dayOfWeekName = new DayOfWeekName(dayOfWeek, name); var result = dayOfWeekName.Name; Assert.AreEqual(name, result); }
internal void UpdateData(DayOfWeekName dayOfWeekName) { Text = dayOfWeekName.Name; VisualStateManager.GoToState(this, GetState(dayOfWeekName.DayOfWeek)); }