@Test
public void testGet() throws Exception {

  SessionContext context = TestUtils.createSessionContext(USER, "test");
  Id itemId = new Id();
  Id versionId = new Id();
  Id elementId = new Id();
  ElementContext elementContext = new ElementContext(itemId, versionId);
  Namespace namespace = Namespace.ROOT_NAMESPACE;
  doReturn(new Response<>(namespace))
      .when(stateAdaptorMock).getNamespace(context, itemId, elementId);
  CoreElement retrievedCoreElement = new CoreElement();
  Response<CoreElement> CoreElementRes = new Response<>(retrievedCoreElement);
  doReturn(CoreElementRes).when(collaborationAdaptorMock)
      .getElement(context, elementContext, namespace, elementId);
  CoreElement element = elementManager.get(context, elementContext, elementId);
  Assert.assertEquals(element, retrievedCoreElement);
}