@Test public void shouldGenerateId() throws Exception { IdGeneratorService idGeneratorService = new IdGeneratorService(); assertEquals(36, idGeneratorService.getId().length()); }
public String getId() { return UUID.randomUUID().toString(); }
IdGeneratorService { public String getId() { return UUID.randomUUID().toString(); } }
IdGeneratorService { public String getId() { return UUID.randomUUID().toString(); }  }
IdGeneratorService { public String getId() { return UUID.randomUUID().toString(); }  String getId(); }
IdGeneratorService { public String getId() { return UUID.randomUUID().toString(); }  String getId();  }