public EditProjectViewModelTests() { _projectRepository = Instance <ProjectRepository>(); _orderRepository = Instance <OrderRepository>(); _patternProjectRepository = Instance <PatternProjectRepository>(); _patternRepository = Instance <PatternRepository>(); _projectRepository.Clear(); _patternProjectRepository.Clear(); _patternRepository.Clear(); }