Commit ef60f0f
committed
Add tests for the IssuePrintFormatter
This adds tests to cover the methods inside the IssuePrintFormatter.
Note: there is some over-testing in a few of these cases because of how
both Issue and Label are defined. We would need to refactor them to use
interfaces for mocking out this functionality if these tests are to be
pure unit tests. As of now, that seems like a bit too much work for the
scope of this commit.1 parent cca04cf commit ef60f0f
4 files changed
Lines changed: 631 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
24 | 34 | | |
25 | 35 | | |
26 | 36 | | |
| |||
0 commit comments