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