Simulator/test/model/environment/objects/area/AreaTest.java
/**
	 * Test exception for illegal argument.
	 */
Test exception for illegal argument.
Test exception for illegal argument .
@Test(expected = IllegalArgumentException.class)
	public void testWrongQueueLeavingPosition2() {
		List<Position> corners = new ArrayList<>();
		corners.add(new Position(10, 10));
		corners.add(new Position(11, 10));
		corners.add(new Position(11, 11));
		corners.add(new Position(13, 11));
		corners.add(new Position(13, 10));
		corners.add(new Position(14, 10));
		corners.add(new Position(14, 14));
		corners.add(new Position(10, 14));
		new QueuingArea(corners, new Position(10, 10), new Position(14, 16));
	}
@ Test ( expected = IllegalArgumentException . class ) public void testWrongQueueLeavingPosition2 ( ) { List < Position > corners = new ArrayList < > ( ) ; corners . add ( new Position ( 10 , 10 ) ) ; corners . add ( new Position ( 11 , 10 ) ) ; corners . add ( new Position ( 11 , 11 ) ) ; corners . add ( new Position ( 13 , 11 ) ) ; corners . add ( new Position ( 13 , 10 ) ) ; corners . add ( new Position ( 14 , 10 ) ) ; corners . add ( new Position ( 14 , 14 ) ) ; corners . add ( new Position ( 10 , 14 ) ) ; new QueuingArea ( corners , new Position ( 10 , 10 ) , new Position ( 14 , 16 ) ) ; }
Test exception for illegal argument.
Test exception for illegal argument .