English word
mock
/mɒk/CEFR level: B2, Upper intermediate
Meanings
noun
An imitation, usually of lesser quality.
Example: Is tortured thirst itself too sweet a cup? Gall, and more bitter mocks, shall make it up.
Mockery; the act of mocking.
Example: Fooles make a mocke at ſinne: but among the righteous there is fauour.
Ellipsis of mock examination.
Example: 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.
Example: 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.