Пример #1
0
        public void Get_ShouldReturnANewGuid()
        {
            var controller = new GuidController();
            var result     = controller.Get() as GuidResponse;

            Assert.IsNotNull(result);
            Assert.IsNotNull(result.Guid);
        }
Пример #2
0
 public UnitTests()
 {
     _caching        = new CacheMock();
     _dbContext      = DbContextMock.GetDBContext("Cylance");
     _guidController = new GuidController(_dbContext, _caching);
 }