예제 #1
0
        public void DataAccessLayerFactory_Returns_ActualDal()
        {
            DataAccessLayerFactory dalFactory = DataAccessLayerFactory.Instance;

            Assert.AreEqual(typeof(DataAccessLayer), dalFactory.CreateDataAccessLayer(false));
        }
예제 #2
0
        public void DataAccessLayerFactory_Returns_MockDal()
        {
            DataAccessLayerFactory dalFactory = DataAccessLayerFactory.Instance;

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