官术网_书友最值得收藏!

Chapter 3. Creating Spies and Partial Mocks

In this chapter, we will cover the following recipes:

  • Creating spies in code
  • Creating spies with custom configuration
  • Creating spies using annotations
  • Creating partial mocks
  • Creating partial mocks of final classes with delegatesTo()
  • Creating spies of final classes with PowerMock
主站蜘蛛池模板: 剑阁县| 西青区| 天祝| 绥江县| 西吉县| 沁源县| 曲麻莱县| 灵武市| 项城市| 怀宁县| 武功县| 内黄县| 五家渠市| 万荣县| 文昌市| 裕民县| 周口市| 墨竹工卡县| 宁乡县| 唐海县| 万州区| 广宗县| 兴国县| 安乡县| 米脂县| 拉孜县| 阿勒泰市| 睢宁县| 肇源县| 莆田市| 丹江口市| 葫芦岛市| 莱西市| 新营市| 勃利县| 阜阳市| 罗山县| 陆丰市| 思南县| 呼和浩特市| 寿光市|