public void CheckCandidateAgeAndThrowException_ParameterIsOutOfRange_ThrowsException(int candidateAge, bool isCandidateWoman) { Assert.Throws <ArgumentOutOfRangeException>(() => ThrowingExceptions.CheckCandidateAgeAndThrowException(candidateAge, isCandidateWoman)); }
public int CheckCandidateAgeAndThrowException_ParameterIsInRange_ReturnWithoutException(int candidateAge, bool isCandidateWoman) { return(ThrowingExceptions.CheckCandidateAgeAndThrowException(candidateAge, isCandidateWoman)); }