public static IEnumerable <object[]> GetTasksCorrectnessStatisticByUserId_ReturnsExpectedResult_Data() { var userId = Guid.NewGuid(); var taskStatistic = EnglishTaskStatisticFactory.GetModel(userId); var expectedCorrectnessModel = TasksCorrectnessStatisticModelFactory.GetApplicationModel(taskStatistic.GetTasksCorrectnessStatistic()); yield return(new object[] { userId, taskStatistic, expectedCorrectnessModel }); }
public static IEnumerable <object[]> GetPerEnglishLevelStatisticByUserId_ReturnsExpectedResult_Data() { var userId = Guid.NewGuid(); var taskStatistic = EnglishTaskStatisticFactory.GetModel(userId); var expectedPerLevelModels = PerEnglishLevelStatisticModelFactory.GetApplicationModels(taskStatistic.GetTasksPerEnglishLevelStatistic()); yield return(new object[] { userId, taskStatistic, expectedPerLevelModels }); }