def METHOD_NAME(initialise_variables):
    instance_iri_random, instance_iri, clz, namespace_for_init = initialise_variables
    with pytest.raises(InstanceIRIInitialisationError) as e_info:
        test_instance = BaseOntology(instance_iri=instance_iri)
    assert str(e_info.value).startswith(InstanceIRIInitialisationError.both_clz_and_namespace_missing)
    with pytest.raises(InstanceIRIInitialisationError) as e_info:
        test_instance = BaseOntology(instance_iri=instance_iri, namespace_for_init=None)
    assert str(e_info.value).startswith(InstanceIRIInitialisationError.both_clz_and_namespace_missing)
    with pytest.raises(InstanceIRIInitialisationError) as e_info:
        test_instance = BaseOntology(instance_iri=instance_iri, clz=None)
    assert str(e_info.value).startswith(InstanceIRIInitialisationError.both_clz_and_namespace_missing)
    with pytest.raises(InstanceIRIInitialisationError) as e_info:
        test_instance = BaseOntology(instance_iri=instance_iri, namespace_for_init=None, clz=None)
    assert str(e_info.value).startswith(InstanceIRIInitialisationError.both_clz_and_namespace_missing)