@PrepareForTest(value={MaxMindFacade.class,com.maxmind.geoip2.model.CityResponse.class,com.maxmind.geoip2.record.Location.class,LogUtils.class}) @PowerMockIgnore(value={"javax.crypto.*","javax.management.*"}) public class MaxMindFacadeSpec_getGeo extends Object
Constructor and Description |
---|
MaxMindFacadeSpec_getGeo() |
Modifier and Type | Method and Description |
---|---|
void |
negativeFlow_localhost() |
void |
negativeFlow_wrongIpFormat() |
void |
positiveFlow_maxMinfConfigIsEmpty() |
void |
positiveFlow_maxMinfConfigNotEmpty_connectionTypeReaderNotNull() |
void |
positiveFlow_maxMinfConfigNotEmpty_domainReaderNotNull() |
void |
positiveFlow_maxMinfConfigNotEmpty_ispReaderNotNull() |
void |
positiveFlow_maxMinfConfigNotEmpty() |
public void negativeFlow_wrongIpFormat() throws IOException
IOException
public void negativeFlow_localhost() throws IOException
IOException
public void positiveFlow_maxMinfConfigIsEmpty() throws IOException
IOException
public void positiveFlow_maxMinfConfigNotEmpty() throws IOException, com.maxmind.geoip2.exception.GeoIp2Exception
IOException
com.maxmind.geoip2.exception.GeoIp2Exception
public void positiveFlow_maxMinfConfigNotEmpty_domainReaderNotNull() throws IOException, com.maxmind.geoip2.exception.GeoIp2Exception
IOException
com.maxmind.geoip2.exception.GeoIp2Exception
public void positiveFlow_maxMinfConfigNotEmpty_ispReaderNotNull() throws IOException, com.maxmind.geoip2.exception.GeoIp2Exception
IOException
com.maxmind.geoip2.exception.GeoIp2Exception
public void positiveFlow_maxMinfConfigNotEmpty_connectionTypeReaderNotNull() throws IOException, com.maxmind.geoip2.exception.GeoIp2Exception
IOException
com.maxmind.geoip2.exception.GeoIp2Exception