Package com.attivio.sdk.test
Class PhraseAssert
- java.lang.Object
-
- com.attivio.sdk.test.PhraseAssert
-
public class PhraseAssert extends java.lang.ObjectAssertions for inspecting/testing tokens.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PhraseAssertassertThat(Phrase actual)Create aPhraseAssertfor asserting attributes ofactual.PhraseAssertequals(Phrase expected)PhraseAssertisTokenized(Phrase expected)Assert that all terms inactualare tokenized, and matchesexpected.PhraseAssertisTokenized(java.lang.String expected)Assert that all terms inactualare tokenized, and matchesexpected.
-
-
-
Method Detail
-
assertThat
public static PhraseAssert assertThat(Phrase actual)
Create aPhraseAssertfor asserting attributes ofactual.
-
isTokenized
public PhraseAssert isTokenized(java.lang.String expected)
Assert that all terms inactualare tokenized, and matchesexpected.
-
isTokenized
public PhraseAssert isTokenized(Phrase expected)
Assert that all terms inactualare tokenized, and matchesexpected.
-
equals
public PhraseAssert equals(Phrase expected)
-
-