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   // TODO: Auto-generated Javadoc
10  /**
11   * The Class TestHBaseWriterProcessor.
12   * 
13   * @author rsmith
14   * 
15   * TODO: mock objects should be used here to test the api integrity.
16   */
17  public class TestHBaseWriterProcessor {
18  	
19  	/** The hwproc. */
20  	HBaseWriterProcessor hwproc;
21  
22  	/**
23  	 * Creates the h base writer processor.
24  	 */
25  	@BeforeClass()
26  	public void createHBaseWriterProcessor() {
27  		hwproc = new HBaseWriterProcessor();
28  	}
29  
30  	/**
31  	 * Test h base writer processor integrity.
32  	 */
33  	@Test()
34  	public void testHBaseWriterProcessorIntegrity() {
35  		Assert.assertNotNull(hwproc);
36  		Assert.assertEquals(hwproc.getURICount(), 0);
37  	}
38  	
39  	
40  }