"sprite: sprite; sprite-image: url('../sprite.png'); sprite-layout: horizontal; "
+ "sprite-alignment: bottom; sprite-margin-left: -5px; sprite-margin-right: 20; sprite-margin-top: 30px; sprite-margin-bottom: -40;",
messageLog);
assertThat(messages).contains(
new Message(Message.MessageLevel.WARN,
Message.MessageType.IGNORING_NEGATIVE_MARGIN_VALUE, null, 0,
"sprite-margin-left"),
new Message(Message.MessageLevel.WARN,
Message.MessageType.IGNORING_NEGATIVE_MARGIN_VALUE, null, 0,
"sprite-margin-bottom"));
assertNotNull(directive);
assertEquals(directive.spriteId, "sprite");
assertEquals(directive.imagePath, "../sprite.png");