[Fact, Trait("Category", "Required")]
        public async Task DeleteGroupByIdExceptionAsync()
        {
            int id = await CreateGroupAsync();
            Assert.Throws<AggregateException>(() => _groupRepository.DeleteGroupByIdAsync(2).Result);