package com.example.andrea.littewhale.test;
import android.test.AndroidTestCase;

import com.example.andrea.utils.Weather;
import com.example.andrea.utils.WeatherParsingException;


/**
 * Created by gery on 30.05.16.
 */
public class WeatherTest extends AndroidTestCase{

    public void testUpdateWeather() {
        Weather testWeather = new Weather();
        try {
            testWeather.updateWeather(45.12, 44.13);
        } catch (WeatherParsingException e) {
            assertTrue(false);
        }


    }
}
@@ -503,17 +503,178 @@
       %7D%0A
-%0A
+        assertNotNull(testWeather.getDetailedDescription());%0A        assertNotNull(testWeather.getId());%0A        assertNotNull(testWeather.getShortDescription());
 %0A    %7D%0A%7D

Update test