@Test
	public void springShouldInjectAllDependencies(){

		StatisticService statisticService = new SpringDrivenStatisticService();

		GameEventReceiver eventReceiver = statisticService.getEventReceiver();
		GameStatisticProvider gameStatisticProvider = statisticService.getStatisticProvider();

		List<GameEvent> eventHistory = getEventHistory();
		for (GameEvent gameEvent : eventHistory) {
			eventReceiver.processEvent(gameEvent);
		}

		List<StatisticDto> stats = gameStatisticProvider.getStatistic(44, 0, 5000);
		assertEquals(stats.get(0).experience, 2900);
		assertEquals(stats.get(0).userId, 44);
		assertEquals(stats.get(0).timestamp, 4000);

	}