<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using Nest.Tests.MockData;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;

namespace Nest.Tests.Integration.Core
{
	[TestFixture]
	public class IndexTests : CleanStateIntegrationTests
	{
        private readonly Random idGen = new Random();

		[Test]
		public void IndexUsingCreateFlag()
		{
            // Document to be indexed.
            ElasticSearchProject doc = new ElasticSearchProject
            {
                Country = "Mozambique",
                Followers = new List<Person>(),
                Id = idGen.Next(),
                Name = "Test Document for 'IndexDocument' Create Flag"
            };

            // Index the document<commit_msg>IndexTests still inherits from deleted base class<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using Nest.Tests.MockData;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;

namespace Nest.Tests.Integration.Core
{
	[TestFixture]
	public class IndexTests : IntegrationTests
	{
        private readonly Random idGen = new Random();

		[Test]
		public void IndexUsingCreateFlag()
		{
            // Document to be indexed.
            ElasticSearchProject doc = new ElasticSearchProject
            {
                Country = "Mozambique",
                Followers = new List<Person>(),
                Id = idGen.Next(),
                Name = "Test Document for 'IndexDocument' Create Flag"
            };

            // Index the document
{'fraction_non_alphanumeric': 0.08441558441558442, 'fraction_numerical': 0.0, 'mean_word_length': 2.313978494623656, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7549232', 'n_tokens_mistral': 421, 'n_tokens_neox': 395, 'n_words': 113}