private ServletContextMock servletContext;
private UriInfoMock uriInfoMock;
@Before
public void initMocks() {
this.servletContext = new ServletContextMock();
this.servletContext.putAttribute(BaseStanbolResource.ROOT_URL, "http://localhost:8080");
BundleContextMock bc = (BundleContextMock) this.servletContext.getAttribute(BundleContext.class
.getName());
bc.putService(FactStore.class.getName(), new FactStoreMock());
this.uriInfoMock = new UriInfoMock();