@Test
public void testGetPosition() {

    Point dimension = itsBoard.getDimension();
    for (int i = 0; i < dimension.x; i++)
        for (int j = 0; j < dimension.y; j++) {
            IField field = itsBoard.getField(i, j);
            Point position = itsBoard.getPosition(field);
            assertEquals(i, position.x);
            assertEquals(j, position.y);
        }
}