@Test
public void clearComponentPoolTest() {

    Stack[] cpool = context.getComponentPools();
    cpool[0] = new Stack<IComponent>();
    cpool[0].push(new Position());
    assertEquals(1, cpool[0].size());
    context.clearComponentPool(0);
    assertTrue(cpool[0].empty());
}