def mock_field(**kwargs):
	"""Creats a mock field definition. Used during unittesting to reduce framework calls and
	only test the smallest unit of work required.
	
	Params:
		kwargs: dict -> All fields you need to test against. Refer to doctype json file definitions.

	Returns:
		A dict containing meta information of this field.
	"""

	meta = {
		"doctype": "DocField",
		"owner": "Administrator",
		"modified_by": "Administrator",
		"parentfield": "fields",
		"parenttype": "DocType"
	}

	if kwargs and len(kwargs) > 0:
		meta.update(kwargs)

	return meta