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

    final List<String> seeds = ImmutableList.of("seed1", "seed2", "seed3");
    new Expectations() {
        {
            priamServer.getInstanceIdentity();
            result = identity;
            times = 1;
            identity.getSeeds();
            result = seeds;
            times = 1;
        }
    };
    Response response = resource.getSeeds();
    assertEquals(200, response.getStatus());
    assertEquals("seed1,seed2,seed3", response.getEntity());
}