public void NullSetAgentTasksLimitTest() { Assert.ThrowsException <ArgumentNullException>(() => _tasksLimit2.SetAgentTasksLimit(null)); }