public void CheckParameterAndThrowException_ParameterIsNull_ThrowsArgumentNullException(object obj) { Assert.Throws <ArgumentNullException>(() => ThrowingExceptions.CheckParameterAndThrowException(obj), "ThrowingExceptions.CheckParameterAndThrowException should throw an ArgumentNullException."); }
public void CheckParameterAndThrowException_ParameterIsNotNull_ReturnsWithoutException(object obj) { ThrowingExceptions.CheckParameterAndThrowException(obj); }