public void RallyGlobalConfigurationRepositoryLoadTest() { RallyGlobalConfigurationRepository repo = new RallyGlobalConfigurationRepository(_context); var result = repo.GetItem(); Assert.IsNotNull(result); Assert.IsTrue(result.Success); }
private RallyGlobalConfiguration GetRallyGlobalConfiguration() { if (_dbContext == null) { throw new ArgumentNullException("DBContext is null."); } RallyGlobalConfigurationRepository repo = new RallyGlobalConfigurationRepository(_dbContext); var result = repo.GetItem(); return(result.Object); }