@Test
public void testGetObjectByTypeValue() {

  String type = "type";
  String value = "value";
  ObjectEntity entity = new ObjectEntity();
  ObjectRecord record = new ObjectRecord();
  when(objectManager.getObject(type, value)).thenReturn(entity);
  when(objectRecordConverter.fromEntity(entity)).thenReturn(record);
  assertSame(record, dao.getObject(type, value));
  verify(objectManager).getObject(type, value);
  verify(objectRecordConverter).fromEntity(entity);
}