@Test
public void testAssertObjectTypeExists() throws InvalidArgumentException {

  when(objectManager.getObjectType("someObjectType")).thenReturn(new ObjectTypeEntity());
  handler.assertObjectTypeExists("someObjectType", "type");
  verify(objectManager).getObjectType("someObjectType");
}