package com.grayben.riskExtractor.htmlScorer.nodeVisitor;

import org.jsoup.select.NodeVisitor;
import org.junit.*;
import org.junit.rules.ExpectedException;
import org.junit.runner.RunWith;
import org.mockito.runners.MockitoJUnitRunner;

import static org.jsoup.helper.Validate.fail;

/**
 * Created by beng on 16/12/2015.
 */
@RunWith(MockitoJUnitRunner.class)
public abstract class NodeVisitorTest {

    private NodeVisitor nodeVisitorSUT;

    @Rule
    public ExpectedException thrown = ExpectedException.none();

    @Before
    public void setUp() throws Exception {

    }

    @After
    public void tearDown() throws Exception {

    }

    @Test
    public void
    test_HeadThrowsNullPointerException_WhenNodeIsNull
            () throws Exception {
        fail("Test not implemented");
    }

    @Test
    public void
    test_HeadThrowsIllegalArgumentException_WhenDepthBelowZero
            () throws Exception {
        fail("Test not implemented");
    }

    @Test
    public void
    test_TailThrowsNullPointerException_WhenNodeIsNull
            () throws Exception {
        fail("Test not implemented");
    }

    @Test
    public void
    test_TailThrowsIllegalArgumentException_WhenDepthBelowZero
            () throws Exception {
        fail("Test not implemented");
    }


}

@@ -438,16 +438,222 @@
 orSUT;%0A%0A
+    protected NodeVisitor getNodeVisitorSUT() %7B%0A        return nodeVisitorSUT;%0A    %7D%0A%0A    protected void setNodeVisitorSUT(NodeVisitor nodeVisitorSUT) %7B%0A        this.nodeVisitorSUT = nodeVisitorSUT;%0A    %7D%0A%0A
     @Rul
@@ -1502,12 +1502,10 @@
 ;%0A    %7D%0A
-%0A%0A
 %7D%0A

Add get/set