@Test
	public void testGameEventController() {
		Unit frog = GameLogic.INSTANCE.createUnit(UnitType.FROG);
		Hero druid = (Hero) GameLogic.INSTANCE.createUnit(UnitType.DRUID);
		Ability firebolt = GameLogic.INSTANCE.createAbility(AbilityType.FIREBOLT);

		UnitUtil.addAbility(druid, firebolt);
		firebolt.setTarget(frog);
		CombatUtil.castAbility(firebolt);

		assertTrue("Check if druid dealt 10 fire damage to frog", frog.getLifeMaximum() == 5 && frog.getLifeCurrent() == (frog.getLifeMaximum() - 10));

		// druid deals 8 physical damage; moscito has 1 physical resistance; total damage = 8-1 = 7
		Unit moscito = GameLogic.INSTANCE.createUnit(UnitType.MOSCITO);
		CombatUtil.attack(druid, moscito);
		assertTrue("Check if druid dealt 7 physical damage to frog", moscito.getLifeMaximum() == 3 && moscito.getLifeCurrent() == (moscito.getLifeMaximum() - 8 + 1));
	}