@Test
public void testResolveObjectById() throws Exception {

  UUID id = UUID.randomUUID();
  ObjectRecord object = new ObjectRecord();
  when(objectFactDao.getObject(id)).thenReturn(object);
  assertSame(object, resolver.resolveObject(id.toString()));
  verify(objectFactDao).getObject(id);
}