public EditOrderViewModelTests() : base(new Order())
        {
            _threadRepository = SimpleIoc.Default.GetInstance <ThreadRepository>();
            _orderRepository  = SimpleIoc.Default.GetInstance <OrderRepository>();

            _orderRepository.Clear();
            _threadRepository.Clear();
        }
        public EditPatternViewModelTests() : base(new Pattern())
        {
            _patternRepository = SimpleIoc.Default.GetInstance <PatternRepository>();
            _threadRepository  = SimpleIoc.Default.GetInstance <ThreadRepository>();

            _patternRepository.Clear();
            _threadRepository.Clear();
        }