Statement Coverage | Branch Coverage | Loop Coverage | Strict Condition Coverage | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
public Book getBooksInFile(String fileId, String bookId) | 0 / 1 | 0 % |
|
0 / 2 | 0 % |
|
0 / 0 | --- | 0 / 1 | 0 % |
|
AppModel.java | ||
---|---|---|
150 | public Book getBooksInFile(String fileId, String bookId) { | |
151 | if (bookId == null) { | |
152 | throw new NullPointerException("bookId == null"); | |
153 | } | |
154 | ||
155 | AppFile appFile = getAppFile(fileId); | |
156 | ||
157 | return appFile.getBook(bookId); | |
158 | } |