package de.gurkenlabs.litiengine.entities.behavior;

import de.gurkenlabs.litiengine.Game;
import de.gurkenlabs.litiengine.abilities.Ability;
import de.gurkenlabs.litiengine.graphics.IRenderable;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

import java.awt.geom.Rectangle2D;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.any;
import static org.mockito.Mockito.when;

public class AStarGridTest {
    private Rectangle2D rectangle;
    private AStarGrid aStarGrid;
    private AStarNode node;

    @BeforeEach
    public void setup() {
        aStarGrid = new AStarGrid(10,20,5);
        rectangle = mock(Rectangle2D.class);
        node = mock(AStarNode.class);
        aStarGrid.getIntersectedNodes(rectangle);
        aStarGrid.updateWalkable(rectangle);
    }

    @Test
    public void testUpdateWalkable() {
        verify(rectangle, times(0)).intersects(rectangle);
    }


}

@@ -50,151 +50,8 @@
 r;%0A%0A
-import de.gurkenlabs.litiengine.Game;%0Aimport de.gurkenlabs.litiengine.abilities.Ability;%0Aimport de.gurkenlabs.litiengine.graphics.IRenderable;%0A
 impo
@@ -87,16 +87,16 @@
 reEach;%0A
+
 import o
@@ -162,69 +162,9 @@
 D;%0A%0A
-import static org.junit.jupiter.api.Assertions.assertEquals;
 %0A
+
 impo
@@ -286,86 +286,8 @@
 es;%0A
-import static org.mockito.Mockito.any;%0Aimport static org.mockito.Mockito.when;
 %0A%0Apu

Remove unnecessary imports