public void ThenIsInvalidIfApprenticeshipIsNull() { _exampleCommand.Apprenticeship = null; _exampleCommand.Caller = new Caller { CallerType = CallerType.Employer, Id = 1 }; var result = _validator.Validate(_exampleCommand); result.IsValid.Should().BeFalse(); }