<commit_before>/**
 * 
 */
package com.catalyst.sonar.score.model;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

/**
 * @author JDunn
 *
 */
public class EntityTest {
	
	private static final String NAME = "testgroup";
	private ProjectGroup group;

	/**
	 * @throws java.lang.Exception
	 */
	@Before
	public void setUp() throws Exception {
		group = new ProjectGroup(NAME);
	}

	/**
	 * Test method for {@link com.catalyst.sonar.score.model.Entity#fileName()}.
	 */
	@Test
	public void testFileName() {
		assertEquals(NAME + "ProjectGroup", group.fileName());
	}

	/**
	 * Test method for {@link com.catalyst.sonar.score.model.Entity#getName()}.
	 */
	@Test
	public void testGetName() {
		assertEquals(NAME, group.getName());
	}

	/**
	 * Test method for {@link com.catalyst.sonar.score.model.Entity#setName(java.lang.String)}.
	 */
	@Test
	public void testSetName() {
		group.setName(NAME + NAME);
		assertEquals(NAME + NAME, group.getName());
	}

}<commit_msg>Fixed test.<commit_after>/**
 * 
 */
package com.catalyst.sonar.score.model;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

/**
 * @author JDunn
 *
 */
public class EntityTest {
	
	private static final String NAME = "testgroup";
	private ProjectGroup group;

	/**
	 * @throws java.lang.Exception
	 */
	@Before
	public void setUp() throws Exception {
		group = new ProjectGroup(NAME);
	}

	/**
	 * Test method for {@link com.catalyst.sonar.score.model.Entity#fileName()}.
	 */
	@Test
	public void testFileName() {
		assertEquals(NAME + ".ProjectGroup", group.fileName());
	}

	/**
	 * Test method for {@link com.catalyst.sonar.score.model.Entity#getName()}.
	 */
	@Test
	public void testGetName() {
		assertEquals(NAME, group.getName());
	}

	/**
	 * Test method for {@link com.catalyst.sonar.score.model.Entity#setName(java.lang.String)}.
	 */
	@Test
	public void testSetName() {
		group.setName(NAME + NAME);
		assertEquals(NAME + NAME, group.getName());
	}

}
{'fraction_non_alphanumeric': 0.16008004002001, 'fraction_numerical': 0.0, 'mean_word_length': 3.6511627906976742, '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': '6887500', 'n_tokens_mistral': 706, 'n_tokens_neox': 652, 'n_words': 145}