- Mockito for Spring
- Sujoy Acharya
- 233字
- 2021-07-23 20:37:58
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The messaging module comes with key abstractions from the Spring Integration project such as Message
, MessageChannel
, and MessageHandler
to serve as a foundation for messaging-based applications."
A block of code is set as follows:
@Test public void currencyRoundsOff() throws Exception { assertNotNull(CurrencyFormatter.format(100.999)); assertTrue(CurrencyFormatter.format(100.999). contains("$")); assertEquals("$101.00", CurrencyFormatter.format(100.999)); }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
public class LocaleTest { private Locale defaultLocale; @Before public void setUp() { defaultLocale = Locale.getDefault(); Locale.setDefault(Locale.GERMANY); } @After public void restore() { Locale.setDefault(defaultLocale); } @Test public void currencyRoundsOff() throws Exception { assertEquals("$101.00", CurrencyFormatter.format(100.999)); } }
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Right-click on the project; a pop-up menu will appear. Expand the Build Path menu and click on the Configure Build Path menu item."
- Learning Cython Programming
- Practical UX Design
- Developing Middleware in Java EE 8
- JMeter 性能測試實戰(第2版)
- Web Development with Django Cookbook
- 大學計算機基礎實驗指導
- RISC-V體系結構編程與實踐(第2版)
- C#開發案例精粹
- 快速入門與進階:Creo 4·0全實例精講
- Couchbase Essentials
- 運維前線:一線運維專家的運維方法、技巧與實踐
- 大學計算機基礎實驗指導
- Instant jQuery Boilerplate for Plugins
- IPython Interactive Computing and Visualization Cookbook
- jQuery Mobile Web Development Essentials(Second Edition)