@Test
	public void exceededCapacityTest() {

		Student student1 = null;
		Student student2 = null;
		try {
			student1 = familyService.findStudent(1);
			student2 = familyService.findStudent(2);
		} catch (InstanceNotFoundException e) {
			fail("Activity not exists");
		}

		Activity activity = new Activity("Baloncesto Primaria", 1,
				new BigDecimal(20.0), new BigDecimal(0), new HashSet<Student>());

		try {
			activityService.create(activity);
		} catch (DuplicateInstanceException e) {
			fail("Duplicated activity");
		}

		activityService.enrollmentStudentInActivity(student1, activity);
		activityService.enrollmentStudentInActivity(student2, activity);

		assertTrue(activityService.exceededCapacity(activity));
	}