jago-server/src/test/java/jago/server/board/SquareTest.java
@Test
    public void testAddNeighbor() {
        square.addNeighbor(mock(Square.class));
        assertEquals(1, square.neighbourSquare.size());
    }
/**
     * Test of addNeighbor method, of class Square.
     */
Test of addNeighbor method, of class Square.
Test of addNeighbor method of class Square .
@Test
    public void testAddNeighbor() {
        square.addNeighbor(mock(Square.class));
        assertEquals(1, square.neighbourSquare.size());
    }
@ Test public void testAddNeighbor ( ) { square . addNeighbor ( mock ( Square . class ) ) ; assertEquals ( 1 , square . neighbourSquare . size ( ) ) ; }
Test of addNeighbor method, of class Square.
Test of addNeighbor method of class Square .