Exemplo n.º 1
0
  @Test
  public void testColumnList() {
    columnList = new LinkedList<Column>();

    String name = "TestSpalte ";
    int limit = 3;
    for (int i = 1; i < 4; i++) columnList.add(new Column(name + i, limit));

    assertTrue(board.getColumnList() == null);
    board.setColumnList(columnList);
    assertFalse(board.getColumnList() == null);
  }
Exemplo n.º 2
0
 @Test
 public void testName() {
   board.setName(boardName);
   assertEquals("Name des Boards geändert?", boardName, board.getName());
 }