package com.fundynamic.d2tm.game.entities.units;


import com.fundynamic.d2tm.game.entities.EntityData;
import org.mockito.Mockito;
import org.newdawn.slick.Image;

public class TestableRenderableWithFacingLogic extends RenderableWithFacingLogic {
    public TestableRenderableWithFacingLogic(Image image, EntityData entityData, float turnSpeed) {
        super(image, entityData, turnSpeed);
    }

    @Override
    public Image getSprite(int x, int y) {
        return Mockito.mock(Image.class);
    }
}

@@ -497,11 +497,163 @@
 );%0A    %7D
+%0A%0A    @Override%0A    public int getVerticalCount() %7B%0A        return 0;%0A    %7D%0A%0A    @Override%0A    public int getHorizontalCount() %7B%0A        return 0;%0A    %7D
 %0A%7D%0A

Fix tests by stubbing out two methods requiring a real image