public void Get_ShouldReturnANewGuid() { var controller = new GuidController(); var result = controller.Get() as GuidResponse; Assert.IsNotNull(result); Assert.IsNotNull(result.Guid); }
public UnitTests() { _caching = new CacheMock(); _dbContext = DbContextMock.GetDBContext("Cylance"); _guidController = new GuidController(_dbContext, _caching); }