@Test
public void getSeeds_handlesUnknownHostException(@Mocked final InstanceIdentity identity)
        throws Exception {

    new Expectations() {
        {
            priamServer.getInstanceIdentity();
            result = identity;
            identity.getSeeds();
            result = new UnknownHostException();
        }
    };
    Response response = resource.getSeeds();
    assertEquals(500, response.getStatus());
}