@Test
public void testGetService() throws Exception {

   Set<Object> expectedResult = new HashSet<>(asList("1", "2"));
   new Expectations(Context.class) {{
      context.lookupMicroservice(META_DATA);
      times = 4;
      result = expectedResult;
   }};
   List<Object> result = new ArrayList<>();
   for (int i = 0; i < 4; i++) {
      result.add(strategy.getService());
   }
   assertThat(result).containsExactly("1", "2", "1", "2");
}