use of com.octo.android.robospice.ormlite.test.model.CurrenWeather in project robospice by stephanenicolas.
the class InDatabaseWeatherPersisterTest method buildWeather.
private Weather buildWeather(int id, CurrenWeather currenWeather) {
Weather weather = new Weather();
weather.setId(id);
List<CurrenWeather> currents = new ArrayList<CurrenWeather>();
currents.add(currenWeather);
weather.setListWeather(currents);
weather.setListForecast(null);
return weather;
}
Aggregations