.assertThat(sprite(testDir, "img/sprite-many-colors.png")).isDirectColor()
.doesNotHaveAlpha();
assertThat(messages).isEquivalentTo(
Message.MessageLevel.WARN,
new Message(Message.MessageLevel.WARN,
Message.MessageType.IGNORING_MATTE_COLOR_NO_SUPPORT, null, 12,
"full-alpha-m1"),
new Message(Message.MessageLevel.WARN,
Message.MessageType.IGNORING_MATTE_COLOR_NO_SUPPORT, null, 19,
"full-alpha-m2"),
new Message(Message.MessageLevel.WARN,
Message.MessageType.IGNORING_MATTE_COLOR_NO_SUPPORT, null, 26,
"full-alpha-m3"),
new Message(Message.MessageLevel.WARN,
Message.MessageType.IGNORING_MATTE_COLOR_NO_PARTIAL_TRANSPARENCY, null,
33, "bit-alpha"),
new Message(Message.MessageLevel.WARN,
Message.MessageType.IGNORING_MATTE_COLOR_NO_SUPPORT, null, 40,
"many-colors"));
}