Package com.attivio.sdk.test
Class TokenListAssert
- java.lang.Object
-
- com.attivio.sdk.test.TokenListAssert
-
public class TokenListAssert extends java.lang.ObjectAssertions for inspecting/testing TokenLists.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TokenListAssertassertThat(TokenList actual)Create aTokenListAssertfor asserting attributes ofactual.TokenListAssertequals(TokenList expected)Assert that the token list equalsexpected.TokenListAssertequals(java.lang.String... expected)Assert that the token list equalsexpected.TokenListAssertisTokenized(TokenList expected)Assert that all tokens are marked asTokenAnnotation.TOKENIZEDand the token list equalsexpected.TokenListAssertisTokenized(java.lang.String... expected)Assert that all tokens are marked asTokenAnnotation.TOKENIZEDand the token list equalsexpected.
-
-
-
Method Detail
-
assertThat
public static TokenListAssert assertThat(TokenList actual)
Create aTokenListAssertfor asserting attributes ofactual.
-
isTokenized
public TokenListAssert isTokenized(java.lang.String... expected)
Assert that all tokens are marked asTokenAnnotation.TOKENIZEDand the token list equalsexpected.
-
isTokenized
public TokenListAssert isTokenized(TokenList expected)
Assert that all tokens are marked asTokenAnnotation.TOKENIZEDand 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.
-
-