package io.dropwizard.hibernate;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;

import org.junit.Test;

import com.google.common.collect.ImmutableList;

public class ScanningHibernateBundleTest {

	@Test
	public void testFindEntityClassesFromDirectory() {
		//given
		String packageWithEntities = "com.codahale.dropwizard.hibernate.fake.entities.pckg";
		//when
		ImmutableList<Class<?>> findEntityClassesFromDirectory = ScanningHibernateBundle.findEntityClassesFromDirectory(packageWithEntities);
		
		//then
		assertFalse(findEntityClassesFromDirectory.isEmpty());
		assertEquals(4, findEntityClassesFromDirectory.size());
	}
	
}

@@ -339,20 +339,10 @@
  = %22
-com.codahale
+io
 .dro

Update ScanningHibernateBundleTest.java