import org.drools.spi.ObjectType;
public class PatternTest extends TestCase {
public void testDeclarationsObjectType() throws Exception {
final ObjectType type = new ClassObjectType( Cheese.class );
final Pattern col = new Pattern( 0,
type,
"foo" );
final Declaration dec = col.getDeclaration();
final InternalReadAccessor ext = dec.getExtractor();