@Test
public void itDrawsAnImageOfTheSameSize() throws Exception
{
NinePatch patch = NinePatch.load(image);
MockGraphics graphics = new MockGraphics();
patch.draw(graphics, 0, 0, 15, 41);
assertEquals(9, graphics.drawnImages.size());
checkDrawnImage(graphics.drawnImages.get(0), new Rectangle(1, 1, 3, 11), new Rectangle(0, 0, 3, 11)); // top left
checkDrawnImage(graphics.drawnImages.get(1), new Rectangle(4, 1, 5, 11), new Rectangle(3, 0, 5, 11)); // top middle