/*
 *  This file is part of Renspur.
 *
 *  Copyright (C) 2017  burghard.britzke bubi@charmides.in-berlin.de
 *
 *  Rennspur is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Affero General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  Rennspur is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Affero General Public License for more details.
 *
 *  You should have received a copy of the GNU Affero General Public License
 *  along with Rennspur.  If not, see <http://www.gnu.org/licenses/>.
 */

package de.rennspur.test.model;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

/**
 * @author bubi
 *
 */
public class EventTest {

	/**
	 * @throws java.lang.Exception
	 */
	@Before
	public void setUp() throws Exception {
	}

	/**
	 * Test method for {@link de.rennspur.model.Event#addRace(de.rennspur.model.Race)}.
	 */
	@Test
	public void testAddRace() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link de.rennspur.model.Event#removeRace(de.rennspur.model.Race)}.
	 */
	@Test
	public void testRemoveRace() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link de.rennspur.model.Event#addWaypoint(de.rennspur.model.Waypoint)}.
	 */
	@Test
	public void testAddWaypoint() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link de.rennspur.model.Event#removeWaypoint(de.rennspur.model.Waypoint)}.
	 */
	@Test
	public void testRemoveWaypoint() {
		fail("Not yet implemented");
	}

}

@@ -101,16 +101,28 @@
 erlin.de
+, leo.winter
 %0A *%0A *  
@@ -902,16 +902,151 @@
 it.Test;
+%0Aimport org.mockito.InjectMocks;%0A%0Aimport de.rennspur.beans.RaceBean;%0Aimport de.rennspur.model.Event;%0Aimport de.rennspur.model.Waypoint;
 %0A%0A/**%0A *
@@ -1090,16 +1090,40 @@
 ntTest %7B
+%0A%09private Event proband;
 %0A%0A%09/**%0A%09
@@ -1227,32 +1227,36 @@
  Test method for
+%0A%09 *
  %7B@link de.renns
@@ -1397,32 +1397,36 @@
  Test method for
+%0A%09 *
  %7B@link de.renns
@@ -1573,32 +1573,36 @@
  Test method for
+%0A%09 *
  %7B@link de.renns
@@ -1763,16 +1763,20 @@
 thod for
+%0A%09 *
  %7B@link 
@@ -1898,34 +1898,136 @@
 %7B%0A%09%09
-fail(%22Not yet implemented%22
+Waypoint waypoint = new Waypoint();%0A%09%09proband.removeWaypoint(waypoint);%0A%09%09assertEquals(%22Text%22, 0, +proband.getWaypoints().size()
 );%0A%09

test for removeWaypoint