String url = "http://FFFFFF.com/foo.html";
String urlLower = url.toLowerCase();
FindOrInsertSharedResourceByUniqueKeyDbMapper sut = new FindOrInsertSharedResourceByUniqueKeyDbMapper();
sut.setEntityManager(getEntityManager());
SharedResource sr = sut.execute(new SharedResourceRequest(url, null));
assertNotNull(sr);
assertNotNull(sr.getStreamScope());
assertEquals(urlLower, sr.getUniqueKey());
assertEquals(urlLower, sr.getStreamScope().getUniqueKey());
assertTrue(sr.getId() > 0);