Search in sources :

Example 6 with ExampleEntity

use of org.qi4j.index.rdf.ContainsAllTest.ExampleEntity in project qi4j-sdk by Qi4j.

the class ContainsTest method simpleContainsStringValueSuccessTest.

@Test
public void simpleContainsStringValueSuccessTest() throws Exception {
    ExampleEntity result = this.performContainsStringValueTest(new HashSet<String>(Arrays.asList(ContainsAllTest.TEST_STRING_1, ContainsAllTest.TEST_STRING_2, ContainsAllTest.TEST_STRING_3)), ContainsAllTest.TEST_STRING_3);
    Assert.assertTrue("The entity must have been found", result != null);
}
Also used : ExampleEntity(org.qi4j.index.rdf.ContainsAllTest.ExampleEntity) AbstractQi4jTest(org.qi4j.test.AbstractQi4jTest) Test(org.junit.Test)

Aggregations

ExampleEntity (org.qi4j.index.rdf.ContainsAllTest.ExampleEntity)6 Test (org.junit.Test)4 AbstractQi4jTest (org.qi4j.test.AbstractQi4jTest)4 UnitOfWork (org.qi4j.api.unitofwork.UnitOfWork)2