// Path: src/main/java/io/aif/language/word/IWord.java
// public interface IWord {
// 
//   public String getRootToken();
// 
//   public Set<String> getAllTokens();
// 
//   public Long getCount();
// 
//   public int getTokenCount(String token);
// 
//   public static interface IWordPlaceholder {
// 
//     public IWord getWord();
// 
//     public String getToken();
// 
//   }
// 
// }


import org.testng.annotations.Test;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import io.aif.language.word.IWord;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import static org.testng.Assert.assertEquals;
package io.aif.language.ner.noun;





public class TitleCaseProperNounCalculatorTest {

  @Test(groups = "unit-tests")
  public void testCalculate() throws Exception {
    final List<String> tokens = Arrays.asList("Heya", "Hiya", "Hola", "deela");
    final String rootToken = "Heya";

    final double expected = .75d;

// Path: src/main/java/io/aif/language/word/IWord.java
// public interface IWord {
// 
//   public String getRootToken();
// 
//   public Set<String> getAllTokens();
// 
//   public Long getCount();
// 
//   public int getTokenCount(String token);
// 
//   public static interface IWordPlaceholder {
// 
//     public IWord getWord();
// 
//     public String getToken();
// 
//   }
// 
// }


// Path: src/test/unit/java/io/aif/language/ner/noun/TitleCaseProperNounCalculatorTest.java
import org.testng.annotations.Test;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import io.aif.language.word.IWord;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import static org.testng.Assert.assertEquals;

package io.aif.language.ner.noun;





public class TitleCaseProperNounCalculatorTest {

  @Test(groups = "unit-tests")
  public void testCalculate() throws Exception {
    final List<String> tokens = Arrays.asList("Heya", "Hiya", "Hola", "deela");
    final String rootToken = "Heya";

    final double expected = .75d;

    final IWord mockWord = mock(IWord.class);