Tests outputting an empty description.
()
| 57 | * Tests outputting an empty description. |
| 58 | */ |
| 59 | @Test |
| 60 | public void testEmptyDesc() |
| 61 | { |
| 62 | final Ability dummy = |
| 63 | TestHelper.makeAbility("dummy", BuildUtilities.getFeatCat(), "Foo"); |
| 64 | final Description desc = new Description(Constants.EMPTY_STRING); |
| 65 | List<CNAbility> singletonAbility = Collections.singletonList(CNAbilityFactory |
| 66 | .getCNAbility(BuildUtilities.getFeatCat(), Nature.NORMAL, dummy)); |
| 67 | assertTrue(desc.getDescription(this.getCharacter(), singletonAbility).isEmpty()); |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * Tests outputting a simple description. |
nothing calls this directly
no test coverage detected