Search in sources :

Example 1 with BasicMongoPersistentEntity

use of org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity in project spring-data-mongodb by spring-projects.

the class ObjectPathUnitTests method setUp.

@Before
public void setUp() {
    one = new BasicMongoPersistentEntity(ClassTypeInformation.from(EntityOne.class));
    two = new BasicMongoPersistentEntity(ClassTypeInformation.from(EntityTwo.class));
    three = new BasicMongoPersistentEntity(ClassTypeInformation.from(EntityThree.class));
}
Also used : BasicMongoPersistentEntity(org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 BasicMongoPersistentEntity (org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity)1