- Mockito Cookbook
- Marcin Grzejszczak
- 56字
- 2021-07-16 11:35:00
Chapter 2. Creating Mocks
In this chapter, we will cover the following recipes:
- Creating mocks in code
- Creating mocks with annotations
- Creating mocks with a different default answer
- Creating mocks with different default answers with annotations
- Creating mocks with custom configuration
- Creating mocks of final classes with PowerMock
- Creating mocks of enums with PowerMock
推薦閱讀
- 公有云容器化指南:騰訊云TKE實(shí)戰(zhàn)與應(yīng)用
- 從零開(kāi)始學(xué)Hadoop大數(shù)據(jù)分析(視頻教學(xué)版)
- 大數(shù)據(jù)算法
- UDK iOS Game Development Beginner's Guide
- 軟件成本度量國(guó)家標(biāo)準(zhǔn)實(shí)施指南:理論、方法與實(shí)踐
- WS-BPEL 2.0 Beginner's Guide
- 大話Oracle Grid:云時(shí)代的RAC
- 數(shù)據(jù)庫(kù)技術(shù)及應(yīng)用教程
- 企業(yè)級(jí)數(shù)據(jù)與AI項(xiàng)目成功之道
- Flutter Projects
- 大數(shù)據(jù)精準(zhǔn)挖掘
- SQL Server 2012數(shù)據(jù)庫(kù)管理教程
- HikariCP連接池實(shí)戰(zhàn)
- MySQL技術(shù)內(nèi)幕:SQL編程
- Unity 2018 By Example(Second Edition)