assertEquals(20, directive.spriteLayoutProperties.marginRight);
assertEquals(30, directive.spriteLayoutProperties.marginTop);
assertEquals(0, directive.spriteLayoutProperties.marginBottom);
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"));
}