Instance instance1 = new Instance("Feed1", "Instance1", "SUBMITTED", "start", "end", "details", "log");
// set expectations
expect(service.getFeedNames()).andReturn(Collections.singletonList("Feed1"));
expect(service.getInstances("Feed1")).andReturn(Collections.singletonList(instance1));
service.killInstance("Feed1", "Instance1");
// replay
replay(service);
InstanceResourceProvider provider = new InstanceResourceProvider(service,