public void TestConstructor_ShouldInitializeCorrectly(int id, string formatedDate) { // Arrange, Act var model = new DateIdViewModel(id, formatedDate); // Assert Assert.IsNotNull(model); }
public void TestConstructor_ShouldSetDateCorrectly(int id, string formatedDate) { // Arrange, Act var model = new DateIdViewModel(id, formatedDate); // Assert Assert.AreEqual(formatedDate, model.FormattedDate); }