public void DefaultBatchLengthSetup()
        {
            int expected = 12;
            DuracolorIntermixBatchNumberValidator plainValidator = new DuracolorIntermixBatchNumberValidator();

            Assert.AreEqual(expected, plainValidator.BatchNumberLength);
        }
        public override void SetUp()
        {
            validator    = new DuracolorIntermixBatchNumberValidator();
            sqliteHelper = new SQLiteDatabaseHelper();
            sqliteHelper.CreateTestDatabase();
            SQLiteStoreContext context = new SQLiteStoreContext(sqliteHelper.DatabaseFile);

            inventorySource        = new SQLiteActiveInventorySource(context);
            receivedBatchSource    = new SQLiteReceivedBatchSource(context, inventorySource);
            implementedBatchSource = new SQLiteImplementedBatchSource(context, inventorySource);
            operatorSource         = new SQLiteBatchOperatorSource(context);
            viewModel = new BatchHistoryViewModel(validator, inventorySource, receivedBatchSource, implementedBatchSource);
            command   = new DisplayBatchHistoryFromBatchNumberCommand(viewModel);
            base.SetUp();
        }