Exemplo n.º 1
0
        public void DataAccessLayerFactory_Returns_ActualDal()
        {
            DataAccessLayerFactory dalFactory = DataAccessLayerFactory.Instance;

            Assert.AreEqual(typeof(DataAccessLayer), dalFactory.CreateDataAccessLayer(false));
        }
Exemplo n.º 2
0
        public void DataAccessLayerFactory_Returns_MockDal()
        {
            DataAccessLayerFactory dalFactory = DataAccessLayerFactory.Instance;

            Assert.AreEqual(typeof(MockDataAccessLayer), dalFactory.CreateDataAccessLayer(true));
        }