### Question:
JPATombstoneCallBack implements TombstoneCallback { @Override public TombstoneCallbackResult getTombstoneCallbackResult() { TombstoneCallbackResult jpaTombstoneCallBackResult = new TombstoneCallbackResult(); jpaTombstoneCallBackResult.setDeltaLink(buildToken()); return jpaTombstoneCallBackResult; } JPATombstoneCallBack(final String baseUri, final GetEntitySetUriInfo resultsView,
      final String deltaTokenValue); @Override TombstoneCallbackResult getTombstoneCallbackResult();  }### Answer:
@Test public void Test() { EdmEntitySet edmEntitySet = EasyMock.createMock(EdmEntitySet.class); try { EasyMock.expect(edmEntitySet.getName()).andReturn("SalesOrder"); EasyMock.replay(edmEntitySet); } catch (EdmException e) { fail("Not Expected"); } GetEntitySetUriInfo resultsView = EasyMock.createMock(GetEntitySetUriInfo.class); EasyMock.expect(resultsView.getTargetEntitySet()).andReturn(edmEntitySet); EasyMock.replay(resultsView); JPATombstoneCallBack tombStoneCallBack = new JPATombstoneCallBack("/sample/", resultsView, "1"); TombstoneCallbackResult result = tombStoneCallBack.getTombstoneCallbackResult(); assertEquals("/sample/SalesOrder?!deltatoken=1", result.getDeltaLink()); }
@Test public void TestNull() { JPATombstoneCallBack tombStoneCallBack = new JPATombstoneCallBack(null, null, null); TombstoneCallbackResult result = tombStoneCallBack.getTombstoneCallbackResult(); assertEquals("?!deltatoken=", result.getDeltaLink()); }