<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AllReady.Features.Events;
using AllReady.Models;
using Xunit;

namespace AllReady.UnitTest.Features.Event
{
    public class EventsByApplicationUserIdQueryHandlerShould : InMemoryContextTest
    {
        private readonly EventsByApplicationUserIdQuery message;
        private readonly Models.Event @event;
        private readonly EventsByApplicationUserIdQueryHandler sut;


        public EventsByApplicationUserIdQueryHandlerShould()
        {
            message = new EventsByApplicationUserIdQuery() { ApplicationUserId = Guid.NewGuid().ToString() };
            @event = new Models.Event() {Organizer = new ApplicationUser() {Id = message.ApplicationUserId } };

            Context.Add(@event);<commit_msg>Fixed unittest<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AllReady.Features.Events;
using AllReady.Models;
using Xunit;

namespace AllReady.UnitTest.Features.Event
{
    public class EventsByApplicationUserIdQueryHandlerShould : InMemoryContextTest
    {
        private readonly EventsByApplicationUserIdQuery message;
        private readonly Models.Event @event;
        private readonly EventsByApplicationUserIdQueryHandler sut;


        public EventsByApplicationUserIdQueryHandlerShould()
        {
            message = new EventsByApplicationUserIdQuery() { ApplicationUserId = Guid.NewGuid().ToString() };
            @event = new Models.Event() {Organizer = new ApplicationUser() {Id = message.ApplicationUserId } };


            Context.Add(@event);
{'fraction_non_alphanumeric': 0.07894736842105263, 'fraction_numerical': 0.0, 'mean_word_length': 4.024024024024024, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5049083', 'n_tokens_mistral': 404, 'n_tokens_neox': 406, 'n_words': 96}