DataBaseStore implements IDataBaseStore { @Override public void createTracking(TrackingEntity trackingEntity) { trackingDao.createTracking(trackingEntity); }  @Override ContextModelForDB getContextModelById(String contextModelId); @Override List<CompositeVirtualObjectForDB> getCompositeVirtualObjectListByOrchestrationId(String orchestrationServiceId); @Override List<RuleBodyForDB> getRuleBodyListByOsId(String osId); @Override CompositeVirtualObjectForDB getCvoById(String id); @Override List<MeasuringVoForDB> getMeasuringVoList(String osId); @Override List<VirtualObjectForDB> getVirtualObjectListByCompositeVirtualObjectId(String compositeVirtualObjectId); @Override List<RuleItemForDB> getRuleVirtualObjectListByCvoId(String compositeVirtualObjectId); @Override DeviceControlForDB getDeviceControlByDeviceIdAndContextModelID(String deviceId, String contextModelId); @Override List<ProfileForDB> getProfileListByContextModelSidAndLocationUri(String contextModelSid, String locationUri); @Override OrchestrationServiceForDB getOrchestrationServiceById(String id); @Override AspectForDB getAspect(String virtualObjectId); @Override VirtualObjectForDB getVirtualObjectById(String id); @Override List<DeviceForDB> getDeviceList(String functionUri, String aspect, String locationUri); @Override FixedDeviceForDB getFixedDevice(String id); @Override ProfileForDB getProfile(String id); @Override List<String> getDepProfileById(String profileId); @Override List<ProfileForDB> getAllProfile(); @Override void createTracking(TrackingEntity trackingEntity); @Override void createSessionData(SessionEntity sessionEntity); @Override void createSessionDataLocation(SessionEntity sessionEntity); @Override void createSessionDataDevice(SessionEntity sessionEntity); @Override void createSessionDataVo(SessionEntity sessionEntity); @Override void updateSessionData(SessionEntity sessionEntity); @Override SessionEntity getSessionData(String sessionId); @Override LocationForDB getLocationById(String id); @Override FunctionalityForDB getFunction(String id); @Override List<DeviceTypeForDB> retrieveDeviceType(); @Override DeviceTypeForDB retrieveDeviceTypeById(String id); List<NonDeviceCvoForDB> retrieveNonDeviceCvoList(String nCvoId, String osId);  }
@Test public void createTracking() throws Exception { TrackingEntity tracking = new TrackingEntity(); tracking.setSessionId("DataBaseStore test"); tracking.setUri("test"); tracking.setMethod("test"); tracking.setRemoteAddr("test"); tracking.setRemoteHost("test"); mapper.createTracking(tracking); }