Mock object

Mock object

Jesse Russell Ronald Cohn

     

бумажная книга



ISBN: 978-5-5138-6229-1

High Quality Content by WIKIPEDIA articles! In object-oriented programming, mock objects are simulated objects that mimic the behavior of real objects in controlled ways. A programmer typically creates a mock object to test the behavior of some other object, in much the same way that a car designer uses a crash test dummy to simulate the dynamic behavior of a human in vehicle impacts.