<commit_before>package org.builditbreakit.seada.common.data;

import static org.junit.Assert.*;

import java.io.IOException;
import java.lang.reflect.Field;
import java.util.Arrays;
import java.util.List;
import java.util.Map;

import nl.jqno.equalsverifier.EqualsVerifier;

import org.builditbreakit.seada.common.exceptions.IntegrityViolationException;
import org.junit.Test;

public class GalleryStateTest {

	/* getVisitors Tests */
	
	@Test(expected = UnsupportedOperationException.class)
	public void testUnmodifiableVisitors() {
		GalleryState galleryState = new GalleryState();
		galleryState.getVisitors()
				.add(new Visitor("Bob", VisitorType.EMPLOYEE));
	}
	
	/* getVisitor Tests */

	@Test
	public void testGetVisitor() {

	}
	
	@Test(expected = IllegalStateException.class)
	public void testGetVisitorMissingVisitor() {
		GalleryState galleryState = new GalleryState();
		galleryState.getVisitor("Bob", VisitorType.EMPLOYEE);
	}
	
	@Test(expected = IllegalStateException.class)
	public void testGetVisitorWrongVisitorType() {
		GalleryState galleryState = new GalleryState();

		String visitorName = "Bob";
		galleryState.arriveAtBuilding(5, visitorName, VisitorType.GUEST);
		galleryState.getVisitor(visitorName, VisitorType.EMPLOYEE);
	}
	
	@Test(expected = IllegalArgumentException.class)<commit_msg>Remove blank test<commit_after>package org.builditbreakit.seada.common.data;

import static org.junit.Assert.*;

import java.io.IOException;
import java.lang.reflect.Field;
import java.util.Arrays;
import java.util.List;
import java.util.Map;

import nl.jqno.equalsverifier.EqualsVerifier;

import org.builditbreakit.seada.common.exceptions.IntegrityViolationException;
import org.junit.Test;

public class GalleryStateTest {

	/* getVisitors Tests */
	
	@Test(expected = UnsupportedOperationException.class)
	public void testUnmodifiableVisitors() {
		GalleryState galleryState = new GalleryState();
		galleryState.getVisitors()
				.add(new Visitor("Bob", VisitorType.EMPLOYEE));
	}
	
	/* getVisitor Tests */
	
	@Test(expected = IllegalStateException.class)
	public void testGetVisitorMissingVisitor() {
		GalleryState galleryState = new GalleryState();
		galleryState.getVisitor("Bob", VisitorType.EMPLOYEE);
	}
	
	@Test(expected = IllegalStateException.class)
	public void testGetVisitorWrongVisitorType() {
		GalleryState galleryState = new GalleryState();

		String visitorName = "Bob";
		galleryState.arriveAtBuilding(5, visitorName, VisitorType.GUEST);
		galleryState.getVisitor(visitorName, VisitorType.EMPLOYEE);
	}
	
	@Test(expected = IllegalArgumentException.class)
{'fraction_non_alphanumeric': 0.10447185813415574, 'fraction_numerical': 0.0007710100231303007, 'mean_word_length': 5.828947368421052, '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': '1694938', 'n_tokens_mistral': 845, 'n_tokens_neox': 779, 'n_words': 147}