use of io.crnk.core.mock.models.Schedule in project crnk-framework by crnk-project.
the class LookupAlwaysRelationIdLookupTest method setup.
@SuppressWarnings({ "rawtypes", "unchecked" })
@Before
public void setup() {
super.setup();
scheduleRepository = new ScheduleRepositoryImpl();
schedule = new Schedule();
schedule.setId(3L);
schedule.setName("test");
scheduleRepository.save(schedule);
}
use of io.crnk.core.mock.models.Schedule in project crnk-framework by crnk-project.
the class LookupNotNullRelationIdLookupTest method setup.
@SuppressWarnings({ "rawtypes", "unchecked" })
@Before
public void setup() {
super.setup();
scheduleRepository = new ScheduleRepositoryImpl();
schedule = new Schedule();
schedule.setId(3L);
schedule.setName("test");
scheduleRepository.save(schedule);
}
use of io.crnk.core.mock.models.Schedule in project crnk-framework by crnk-project.
the class InconsistentRelationshipTest method setup.
@SuppressWarnings({ "rawtypes", "unchecked" })
@Before
public void setup() {
super.setup();
scheduleRepository = new ScheduleRepositoryImpl();
schedule = new Schedule();
schedule.setId(3L);
schedule.setName("test");
scheduleRepository.save(schedule);
}
use of io.crnk.core.mock.models.Schedule in project crnk-framework by crnk-project.
the class MultiValuedRelationIdLookupTest method setup.
@SuppressWarnings({ "rawtypes", "unchecked" })
@Before
public void setup() {
super.setup();
scheduleRepository = new ScheduleRepositoryImpl();
schedule3 = new Schedule();
schedule3.setId(3L);
schedule3.setName("test");
scheduleRepository.save(schedule3);
schedule4 = new Schedule();
schedule4.setId(4L);
schedule4.setName("test");
scheduleRepository.save(schedule4);
}
use of io.crnk.core.mock.models.Schedule in project crnk-framework by crnk-project.
the class SerializeOnlyIdRelationIdLookupTest method setup.
@SuppressWarnings({ "rawtypes", "unchecked" })
@Before
public void setup() {
super.setup();
scheduleRepository = new ScheduleRepositoryImpl();
schedule = new Schedule();
schedule.setId(3L);
schedule.setName("test");
scheduleRepository.save(schedule);
}
Aggregations