@Test
public void testGetObjectById() {

  UUID id = UUID.randomUUID();
  ObjectEntity entity = new ObjectEntity();
  ObjectRecord record = new ObjectRecord();
  when(objectManager.getObject(id)).thenReturn(entity);
  when(objectRecordConverter.fromEntity(entity)).thenReturn(record);
  assertSame(record, dao.getObject(id));
  verify(objectManager).getObject(id);
  verify(objectRecordConverter).fromEntity(entity);
}