public void NoteListEditFormModelClass_Constructor_SetsDataPropertyToObjectWithDataPropertyWithCountPropertyZero_IfParameterIsNull() { Dictionary <string, Note> testParam0 = null; NoteListEditFormModel testOutput = new NoteListEditFormModel(testParam0); Assert.AreEqual(0, testOutput.Data.Count); }
public void NoteListEditFormModelClass_Constructor_SetsDataPropertyToParameter_IfParameterIsNotNull() { Dictionary <string, Note> testParam0 = new Dictionary <string, Note>(); NoteListEditFormModel testOutput = new NoteListEditFormModel(testParam0); Assert.AreSame(testParam0, testOutput.Data); }
public void NoteListEditFormModelClass_Constructor_SetsDataPropertyToNonNullValue_IfParameterIsNull() { Dictionary <string, Note> testParam0 = null; NoteListEditFormModel testOutput = new NoteListEditFormModel(testParam0); Assert.IsNotNull(testOutput.Data); }