TestCase if constructorParamsDefaultToNull is true and using DateTime object produces null-pointer-exception
Fix creating constructor for DaeTime and constructorParamsDefaultToNull to prevent null-pointer-exception