package org.hibernate.search.backend; import static org.junit.Assert.*; import org.hibernate.search.backend.impl.TransactionalSelectionVisitor; import org.hibernate.search.backend.impl.WorkVisitor; import org.junit.Test; public class TestFlushLuceneWork { @Test public void test(){ FlushLuceneWork flw = new FlushLuceneWork(null); assertNotNull(flw.getWorkDelegate(TransactionalSelectionVisitor.INSTANCE)); assertNotNull(flw.toString()); assertNotNull(FlushLuceneWork.INSTANCE); flw = new FlushLuceneWork(Integer.class); assertNotNull(flw.toString()); } }