As far as I know, RM should mock what a derived class can access. Since the protected virtual member is accessible from a subclass, should it not be brushed aside?
I understand that RM does not support mocking protected virtual members.
If I want to mock a protected member, I usually skip Rhino Mocks and simply subclass it with my own fake implementation.
As far as I know, RM should make fun of everything that a derived class can appeal to.
. , . , .
, . .
, RM .
. , : . Rhino Mocks , .
Source: https://habr.com/ru/post/1750382/More articles:Sphider Search Engine Integration with CodeIgniter - phpZend Framework: how to run PHPUnit to test forms? - unit-testingBig strings: text files or SQL DB? - sqlproblem reading csv file in python - pythonLINQ. Группировка по дням. Как это сделать легко? - dateМогу ли я использовать оператор MySQL PREPARE в функции для создания запроса с именем таблицы переменных - mysqlGet window index z from window handle - .netjava resolution and print size for image - javaThe correct way to print BufferedImage in Java - javaDoes facebook API support image tagging? - facebookAll Articles