use of uk.ac.manchester.cs.owl.owlapi.OWLClassImpl in project webprotege by protegeproject.
the class EntityTagsRepository_TestCase method setUp.
@Before
public void setUp() throws Exception {
Morphia morphia = createMorphia();
mongoClient = createMongoClient();
Datastore datastore = morphia.createDatastore(mongoClient, getTestDbName());
repository = new EntityTagsRepository(datastore);
repository.ensureIndexes();
entity = new OWLClassImpl(IRI.create("http://stuff.com/entities/A"));
tagIdA = TagId.getId("12345678-1234-1234-1234-123456789abc");
tagIdB = TagId.getId("12345678-5678-5678-5678-123456789abc");
projectId = ProjectId.get(UUID);
List<TagId> tags = Arrays.asList(tagIdA, tagIdB);
entityTags = new EntityTags(projectId, entity, tags);
}
Aggregations