Пример #1
0
 /// <summary>
 /// Create a ViewModelTestUnit that owns a mocked Model.
 /// </summary>
 /// <returns></returns>
 public static ViewModelInsensitiveTestUnit CreateInsensitiveViewModelTestUnit(ModelTestUnit mockModel = null)
 {
     return(new ViewModelInsensitiveTestUnit(mockModel ?? CreateInsensitiveModelTestUnit()));
 }
Пример #2
0
        public static ModelTestUnit CreateInsensitiveModelTestUnit()
        {
            var mockModel = new ModelTestUnit();

            return(mockModel);
        }