@Test(expected = InvalidRoomParameterException.class) public void maxPlayersUnspecifiedTest() throws InvalidRoomParameterException { RoomBuilder roomBuilder = new RoomBuilder(); roomBuilder.getMaxPlayers(); }
@Test(expected = InvalidRoomParameterException.class) public void nameUnspecifiedTest() throws InvalidRoomParameterException { RoomBuilder roomBuilder = new RoomBuilder(); roomBuilder.getName(); }
@Test(expected = InvalidRoomParameterException.class) public void victoryUnspecifiedTest() throws InvalidRoomParameterException { RoomBuilder roomBuilder = new RoomBuilder(); roomBuilder.getPointsToVictory(); }