public void Parse_Should_Convert_Args_To_Model(string input, int index) { var value = new SortEventArgs { Input = input, SortTypeIndex = index }; var expectedValue = new FormsMVCModel { Input = input, SortType = (SorterTypes)index, Output = null }; var result = value.Parse(); //For simplicity only Assert.IsTrue(DeepEqual(expectedValue, result)); }