public void DeleteAllFromPlanning() { Planning planningOutput = _planningRepository.Create(_planningInput); Event eventInput = new Event(0, 1, planningOutput.Id, "label", "20-05-05 00:00:00", "20-05-05 00:00:00"); Event eventOutput = _eventRepository.Create(eventInput); Event eventOutput2 = _eventRepository.Create(eventInput); bool areDeleted = _eventRepository.DeleteAllFromPlanning(_planningInput.Id); Assert.True(areDeleted); }