package com.huskycode.jpaquery;

import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.transaction.annotation.Transactional;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 * @author Varokas Panusuwan
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations={"/applicationContext-test.xml"})
@Transactional
public class AbstractEntityManagerWired {
    @PersistenceContext
    protected EntityManager entityManager;
}

@@ -510,16 +510,25 @@
 %0Apublic 
+abstract 
 class Ab

Change AbstractEntityManagerWired to be an abstract class