public void TaskHandler_CanExecute_TaskIsOneTimeThereforeNoNextScheduledDate_ReturnsTrue() { var newTask = new Task { Name = TaskNames.AllocatePin, Frequency = TaskFrequencyNames.OneTime, Pin = 12125, }; Assert.IsTrue(_taskHandler.CanExecute(newTask, _serviceInstanceTwo)); }