From Middle English mokken, from Old French mocquer, moquier (“to deride, jeer”), from Middle Dutch mocken (“to mumble”) or Middle Low German mucken (“to grumble, talk with the mouth half-opened”), both from Proto-West Germanic *mokkijan, *mukkijan (“to low, bellow; mumble”), from Proto-Germanic *mukkijaną, *mūhaną (“to low, bellow, shout”), from Proto-Indo-European *mūg-, *mūk- (“to low, mumble”).
Cognate with Dutch mokken (“to sulk; pout; mope; grumble”), Old High German firmucken (“to be stupid”), Modern German mucksen (“to utter a word; mumble; grumble”), West Frisian mokke (“to mope; sulk; grumble”), Swedish mucka (“to murmur”), dialectal Dutch mokkel (“kiss”).
Meanings
(not-comparable) Imitation, not genuine; fake.
mock trial
mock turtle-soup
High Row curves from the mock-timbered Cross Keys Inn to the tall and sombre Gainford Hall, today a private farmhouse. 1980, AA Book of British Villages, Drive Publications Ltd, page 195, about Gainford, Co. Durham:
For protecting them, by a mock Trial, from punishment for any Murders which they should commit on the Inhabitants of these States: 1776, United States Declaration of Independence:
mock leather
Forms
Spelling
Features
Labels
Source
mocque
alternative, obsolete
lexicographic
Translations (22)
cs hraný (imitation, not genuine) · ru подде́льный (imitation, not genuine) · ka ყალბი (imitation, not genuine) · eo ŝajniga (imitation, not genuine) · sv låtsas- (imitation, not genuine) · he ־דמה (imitation, not genuine) · bg подражателски (imitation, not genuine) · cs simulovaný (imitation, not genuine) · nl namaak- (imitation, not genuine) · cs předstíraný (imitation, not genuine) · eo falsa (imitation, not genuine) · pt falso (imitation, not genuine) · fa برساخته (imitation, not genuine) · pl udawany (imitation, not genuine) · de Schein- (imitation, not genuine) · pl sztuczny (imitation, not genuine) · de nachgemacht (imitation, not genuine) · fa بدلی (imitation, not genuine) · fi teko- (imitation, not genuine) · sv sken- (imitation, not genuine) · fa ماخ (imitation, not genuine) · eo imita (imitation, not genuine)
From Middle English mokken, from Old French mocquer, moquier (“to deride, jeer”), from Middle Dutch mocken (“to mumble”) or Middle Low German mucken (“to grumble, talk with the mouth half-opened”), both from Proto-West Germanic *mokkijan, *mukkijan (“to low, bellow; mumble”), from Proto-Germanic *mukkijaną, *mūhaną (“to low, bellow, shout”), from Proto-Indo-European *mūg-, *mūk- (“to low, mumble”).
Cognate with Dutch mokken (“to sulk; pout; mope; grumble”), Old High German firmucken (“to be stupid”), Modern German mucksen (“to utter a word; mumble; grumble”), West Frisian mokke (“to mope; sulk; grumble”), Swedish mucka (“to murmur”), dialectal Dutch mokkel (“kiss”).
Meanings
An imitation, usually of lesser quality.
Is tortured thirst itself too sweet a cup?
Gall, and more bitter mocks, shall make it up. a. 1649, Richard Crashaw, The Hymn:
Mockery; the act of mocking.
Fooles make a mocke at ſinne: but among the righteous there is fauour. 1611, The Holy Bible, […] (King James Version), London: […] Robert Barker, […], →OCLC, Proverbs 14:9, column 2:
Thus says my king; an if your father's highness
Do not, in grant of all demands at large,
Sweeten the bitter mock you sent his majesty,
He'll call you to so hot an answer of it 1599 (date written), William Shakespeare, “The Life of Henry the Fift”, in Mr. William Shakespeares Comedies, Histories, & Tragedies […] (First Folio), London: […] Isaac Iaggard, and Ed[ward] Blount, published 1623, →OCLC, (please specify the act number in uppercase Roman numerals, and the scene number in lowercase Roman numerals):
(abbreviation, alt-of, ellipsis) Ellipsis of mock examination.
He got a B in his History mock, but improved to an A in the exam.
A mockup or prototype; particularly, ellipsis of mock object, as used in unit testing.
You can, if you must, create a mock that derives from a concrete class. The problem is that the resulting class represents a mix of production and mocked behavior, a beast referred to as a partial mock. 2013, Jeff Langr, Modern C++ Programming with Test-Driven Development:
Mocks replace the objects with which your methods under test collaborate, thus offering a layer of isolation. 2020, Cătălin Tudose, JUnit in Action, 3rd edition, Simon and Schuster, →ISBN, page 139:
From Middle English mokken, from Old French mocquer, moquier (“to deride, jeer”), from Middle Dutch mocken (“to mumble”) or Middle Low German mucken (“to grumble, talk with the mouth half-opened”), both from Proto-West Germanic *mokkijan, *mukkijan (“to low, bellow; mumble”), from Proto-Germanic *mukkijaną, *mūhaną (“to low, bellow, shout”), from Proto-Indo-European *mūg-, *mūk- (“to low, mumble”).
Cognate with Dutch mokken (“to sulk; pout; mope; grumble”), Old High German firmucken (“to be stupid”), Modern German mucksen (“to utter a word; mumble; grumble”), West Frisian mokke (“to mope; sulk; grumble”), Swedish mucka (“to murmur”), dialectal Dutch mokkel (“kiss”).
Meanings
To mimic, to simulate.
Mocking marriage with a dame of France. c. 1591–1592 (date written), William Shakespeare, “The Third Part of Henry the Sixt, […]”, in Mr. William Shakespeares Comedies, Histories, & Tragedies […] (First Folio), London: […] Isaac Iaggard, and Ed[ward] Blount, published 1623, →OCLC, [Act IV, scene iii]:
To see the life as lively mocked as ever / Still sleep mocked death. c. 1610–1611 (date written), William Shakespeare, “The Winters Tale”, in Mr. William Shakespeares Comedies, Histories, & Tragedies […] (First Folio), London: […] Isaac Iaggard, and Ed[ward] Blount, published 1623, →OCLC, [Act V, scene iii]:
(rare) To create an artistic representation of.
[I]ts sculptor well those passions read / Which yet survive, stamped on these lifeless things, / The hand that mocked them and the heart that fed: […] 1817 (published 11 January 1818), Percy Bysshe Shelley, “Sonnet. Ozymandias.”, in Rosalind and Helen, a Modern Eclogue; with Other Poems, London: […] [C. H. Reynell] for C[harles] and J[ames] Ollier, […], published 1819, →OCLC, page 92:
To make fun of, especially by mimicking; to taunt.
And it came to paſſe at noone, that Eliiah mocked them, and ſaide, Crie aloud: for he is a god, either he is talking, or he is purſuing, or hee is in a iourney, or peraduenture he ſleepeth, and muſt be awaked. 1611, The Holy Bible, […] (King James Version), London: […] Robert Barker, […], →OCLC, 1 Kings 18:27, column 1:
Let not ambition mock their useful toil. 1750 June 12 (date written; published 1751), T[homas] Gray, “Elegy Written in a Country Churchyard”, in Designs by Mr. R[ichard] Bentley, for Six Poems by Mr. T. Gray, London: […] R[obert] Dodsley, […], published 1753, →OCLC:
To tantalise, and disappoint the hopes of.
The wind is mocking my efforts to light a fire!
The French revolution indeed is a prodigy which has mocked the expectations both of its friends and its foes. It has cruelly disappointed the fondest hopes of the first, nor has it observed that course which the last thought that it would have pursued. 1812, The Critical Review or, Annals of Literature, page 190:
‘Mock’ certainly never signifies to loath. Its common signification is, to disappoint. 1765, Benjamin Heath, A revisal of Shakespear's text, page 563 (a commentary on the "mocke the meate" line from Othello)
And Delilah ſaid vnto Samſon, hitherto thou haſt mocked me, and told me lies: tell me wherewith thou mighteſt be bound. 1611, The Holy Bible, […] (King James Version), London: […] Robert Barker, […], →OCLC, Judges 16:13, column 2:
Why do I overlive? / Why am I mocked with death, and lengthened out / to deathless pain? 1667, John Milton, “(please specify the page number)”, in Paradise Lost. […], London: […] [Samuel Simmons], and are to be sold by Peter Parker […]; [a]nd by Robert Boulter […]; [a]nd Matthias Walker, […], →OCLC; republished as Paradise Lost in Ten Books: […], London: Basil Montagu Pickering […], 1873, →OCLC:
"It is the greene-ey'd Monster, which doth mocke / The meate it feeds on." c. 1603–1604 (date written), William Shakespeare, “The Tragedie of Othello, the Moore of Venice”, in Mr. William Shakespeares Comedies, Histories, & Tragedies […] (First Folio), London: […] Isaac Iaggard, and Ed[ward] Blount, published 1623, →OCLC, [Act III, scene iii]:
He will not […] / Mock us with his blest sight, then snatch him hence. 1671, John Milton, “The Second Book”, in Paradise Regain’d. A Poem. In IV Books. To which is Added, Samson Agonistes, London: […] J[ohn] M[acock] for John Starkey […], →OCLC:
(transitive) To create a mockup or prototype of.
They can also mock other integration points such as backend, database, or any other external resource. 2016, Murat Yener, Onur Dundar, Expert Android Studio, page 233: