Quantcast
Viewing all articles
Browse latest Browse all 5344

Mocking Property Getters and Setters

In typical unit testing scenarios, mocking property getters and setters isn't high on the list of areas of concern. Where it usually comes into play is when an entity’s properties’ values (or the act of setting them) are part of the scaffolding, or behavior for the system under test.Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 5344

Trending Articles