public class LevelManagerTest
{
@Test
public void shouldAddThreeNewLevelsToUserIfFirstCall()
{
IUserStatisticDaoService userStatisticDaoService = mock(IUserStatisticDaoService.class);
UserStatistic createdUserStatistic = mock(UserStatistic.class);
when(createdUserStatistic.getValue()).thenReturn(10);
when(userStatisticDaoService.get(any(UserWrapper.class), any(StatisticRefEnum.class))).thenReturn(createdUserStatistic);
IUserWrapperDaoService userWrapperDaoService = mock(IUserWrapperDaoService.class);
IUserLevelDaoService userLevelDaoService = mock(IUserLevelDaoService.class);
ILevelDaoService levelDaoService = mock(ILevelDaoService.class);