package scoutmgr.server.entity.dao.internal;

import java.util.List;
import org.testng.annotations.BeforeMethod;
import scoutmgr.server.entity.Person;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
import org.postgresql.Driver;

public class PersonRepositoryImplTest
  extends AbstractPersonRepositoryImplTest
{
  @Test
  public void findAllWhereNameLike()
    throws Exception
  {
    s.createPerson( "Bilbo" );
    s.createPerson( "Gorgon" );
    s.createPerson( "Greg" );
    s.createPerson();

    final List<Person> persons = dao().findAllWhereNameLike( "G%" );
    assertEquals( persons.size(), 2 );
  }
}

@@ -96,20 +96,12 @@
 ons.
-BeforeMethod
+Test
 ;%0Aim
@@ -147,100 +147,34 @@
 ort 
-org.testng.annotations.Test;%0Aimport static org.testng.Assert.*;%0Aimport org.postgresql.Driver
+static org.testng.Assert.*
 ;%0A%0Ap

Optimise imports