1   package com.powerset.heritrix.writer.test;
2   
3   import org.testng.Assert;
4   import org.testng.annotations.BeforeClass;
5   import org.testng.annotations.Test;
6   
7   import com.powerset.heritrix.writer.HBaseWriterProcessor;
8   
9   /**
10   * 
11   * @author rsmith
12   * 
13   * TODO: mock objects should be used here to test the api integrity.
14   *
15   */
16  public class TestHBaseWriterProcessor {
17  	HBaseWriterProcessor hwproc;
18  
19  	@BeforeClass()
20  	public void createHBaseWriterProcessor() {
21  		hwproc = new HBaseWriterProcessor();
22  	}
23  
24  	@Test()
25  	public void testHBaseWriterProcessorIntegrity() {
26  		Assert.assertNotNull(hwproc);
27  		Assert.assertEquals(hwproc.getURICount(), 0);
28  	}
29  	
30  	
31  }