@@ -0,0 +1,1615 @@
+package de.gurkenlabs.litiengine.entities;%0A%0Aimport static org.junit.jupiter.api.Assertions.assertFalse;%0Aimport static org.junit.jupiter.api.Assertions.assertNotNull;%0Aimport static org.junit.jupiter.api.Assertions.assertTrue;%0A%0Aimport org.junit.jupiter.api.Test;%0A%0Aimport de.gurkenlabs.litiengine.annotation.Action;%0A%0Apublic class EntityTests %7B%0A%0A  @Test%0A  public void testEntityAction() %7B%0A    TestEntity entity = new TestEntity();%0A    %0A    assertTrue(entity.actions().exists(%22doSomething%22));%0A    %0A    EntityAction action = entity.actions().get(%22doSomething%22);%0A    %0A    assertNotNull(action);%0A    %0A    action.perform();%0A    %0A    assertTrue(entity.didSomething);%0A  %7D%0A%0A  @Test%0A  public void testNamedAction() %7B%0A    TestEntity entity = new TestEntity();%0A%0A    assertTrue(entity.actions().exists(%22myName%22));%0A    %0A    EntityAction action = entity.actions().get(%22myName%22);%0A    %0A    assertNotNull(action);%0A    %0A    action.perform();%0A    %0A    assertTrue(entity.didNamedAction);%0A  %7D%0A%0A  @Test%0A  public void testCustomAction() %7B%0A    Entity entity = new TestEntity();%0A    entity.register(%22customAction%22, () -%3E %7B%0A      return;%0A    %7D);%0A%0A    assertTrue(entity.actions().exists(%22customAction%22));%0A%0A    entity.actions().unregister(%22customAction%22);%0A%0A    assertFalse(entity.actions().exists(%22customAction%22));%0A  %7D%0A%0A  private class TestEntity extends Entity %7B%0A    private boolean didSomething;%0A    private boolean didNamedAction;%0A%0A    @Action(description = %22does something%22)%0A    public void doSomething() %7B%0A      didSomething = true;%0A    %7D%0A%0A    @Action(name = %22myName%22)%0A    public void namedAction() %7B%0A      didNamedAction = true;%0A    %7D%0A  %7D%0A%7D%0A

Add some test cases for entity actions.