public void check_increase_time(String campaign, int time) { PoolManager poolManager = new PoolManager(); String[] sCamp = campaign.Split(" "); Campaign campaignTemp = new Campaign(sCamp[1], sCamp[2], Double.Parse(sCamp[3]), Double.Parse(sCamp[4]), Double.Parse(sCamp[5])); campaignController.increaseTime(campaignTemp, time); TimeSpan tempTime = new TimeSpan(5, 0, 0); Assert.Equal(tempTime, campaignTemp._localHour); }