package com.grayben.riskExtractor.htmlScorer.partScorers.tagScorers;

import org.jsoup.parser.Tag;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.runners.MockitoJUnitRunner;

import static org.junit.Assert.*;

/**
 * Created by beng on 22/12/2015.
 */
@RunWith(MockitoJUnitRunner.class)
public class TagSegmentationScorerTest extends MapScorerTest<Tag> {

    TagSegmentationScorer tagSegmentationScorerSUT;

    @Mock public Tag tagToBeScoredMock;

    @Before
    public void setUp() throws Exception {
        this.tagSegmentationScorerSUT
                = new TagSegmentationScorer(
                TagSegmentationScorer.defaultMap()
        );
        super.setMapScorerSUT(this.tagSegmentationScorerSUT);
        super.setUp();
    }

    @After
    public void tearDown() throws Exception {
        super.tearDown();
    }

    @Override
    @Test
    public void test_ScoreReturnsInteger_WhenArgumentIsNotEmpty() throws Exception {

    }

    @Override
    @Test
    public void test_ScoreGivesExpectedResult_WhenSimpleInput() throws Exception {

    }

    @Override
    @Test
    public void test_InitThrowsNullPointerException_WhenMapParamIsNull() throws Exception {

    }
}
@@ -297,16 +297,133 @@
 Runner;%0A
+import java.lang.Object;%0A%0Aimport static com.grayben.riskExtractor.htmlScorer.partScorers.elementScorers.TestHelper.*;
 %0Aimport 
@@ -657,14 +657,8 @@
     
-@Mock 
 publ
@@ -884,16 +884,143 @@
      );%0A
+        this.tagToBeScoredMock = stubTag(%22some-name-to-use%22);%0A        super.setArgumentToBeScoredMock(this.tagToBeScoredMock);%0A
         
@@ -1294,32 +1294,167 @@
 ows Exception %7B%0A
+        Object returned = tagSegmentationScorerSUT.score(tagToBeScoredMock);%0A%0A        assertEquals(Integer.class, returned.getClass());
 %0A    %7D%0A%0A    @Ove
@@ -1548,24 +1548,61 @@
 Exception %7B%0A
+        fail(%22Test not implemented%22);
 %0A    %7D%0A%0A    
@@ -1713,16 +1713,53 @@
 ption %7B%0A
+        fail(%22Test not implemented%22);
 %0A    %7D%0A%7D

Correct setup, stub tests, implement a test