test("throws an ArgumentError with a specified parameter name if the argument is null",()=>{
expect(()=>ArgumentError.throwIfNullOrEmpty(null,"param1")).toThrowError(newArgumentError("param1","The value cannot be null, undefined, or empty."));
});
test("throws an ArgumentError with a specified parameter name if the argument is undefined",()=>{
expect(()=>ArgumentError.throwIfNullOrEmpty(undefined,"param1")).toThrowError(newArgumentError("param1","The value cannot be null, undefined, or empty."));
});
test("throws an ArgumentError with a specified parameter name if the argument is empty",()=>{
expect(()=>ArgumentError.throwIfNullOrEmpty("","param1")).toThrowError(newArgumentError("param1","The value cannot be null, undefined, or empty."));