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