Package com.attivio.sdk.test
Class TokenListAssert
- java.lang.Object
-
- com.attivio.sdk.test.TokenListAssert
-
public class TokenListAssert extends java.lang.Object
Assertions for inspecting/testing TokenLists.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TokenListAssert
assertThat(TokenList actual)
Create aTokenListAssert
for asserting attributes ofactual
.TokenListAssert
equals(TokenList expected)
Assert that the token list equalsexpected
.TokenListAssert
equals(java.lang.String... expected)
Assert that the token list equalsexpected
.TokenListAssert
isTokenized(TokenList expected)
Assert that all tokens are marked asTokenAnnotation.TOKENIZED
and the token list equalsexpected
.TokenListAssert
isTokenized(java.lang.String... expected)
Assert that all tokens are marked asTokenAnnotation.TOKENIZED
and the token list equalsexpected
.
-
-
-
Method Detail
-
assertThat
public static TokenListAssert assertThat(TokenList actual)
Create aTokenListAssert
for asserting attributes ofactual
.
-
isTokenized
public TokenListAssert isTokenized(java.lang.String... expected)
Assert that all tokens are marked asTokenAnnotation.TOKENIZED
and the token list equalsexpected
.
-
isTokenized
public TokenListAssert isTokenized(TokenList expected)
Assert that all tokens are marked asTokenAnnotation.TOKENIZED
and the token list equalsexpected
.
-
equals
public TokenListAssert equals(java.lang.String... expected)
Assert that the token list equalsexpected
.
-
equals
public TokenListAssert equals(TokenList expected)
Assert that the token list equalsexpected
.
-
-