@Test
public void testResolveObjectByTypeValue() throws Exception {

  String type = "ObjectType";
  String value = "ObjectValue";
  ObjectRecord object = new ObjectRecord();
  when(objectManager.getObjectType(type)).thenReturn(new ObjectTypeEntity());
  when(objectFactDao.getObject(type, value)).thenReturn(object);
  assertSame(object, resolver.resolveObject(String.format("%s/%s", type, value)));
  verify(objectManager).getObjectType(type);
  verify(objectFactDao).getObject(type, value);
}