{
CardinalOr cardinalOr = new CardinalOr(3);
assertTrue(cardinalOr.countDecorations() == 0);
assertTrue(cardinalOr.getDecorations().size() == 0);
assertFalse(cardinalOr.isDecorated());
DecorationImpl decoration = new DecorationImpl();
cardinalOr.decorate(decoration);
assertTrue(cardinalOr.countDecorations() == 1);
assertTrue(cardinalOr.getDecorations().size() != 0);
assertTrue(cardinalOr.isDecorated());
List<Decoration> decorations = cardinalOr.getDecorations();