Yes, you could pass an AdvancedModelWrapper object which is not an 
Engineering Object. Why not? You just have to wrap some generic model 
with an AdvancedModelWrapper and pass this object to this static method. 
I think it would be unsafe (and a possible source of bugs) to not make 
this check.

Am 2013-08-06 10:47, schrieb Andreas Pieber:
>>           super(model);
>>       }
>>   
>>       /**
>> +     * Returns the corresponding engineering object model wrapper to the given advanced model wrapper.
>> +     */
>> +    public static EngineeringObjectModelWrapper enhance(AdvancedModelWrapper model) {
>> +        if (!model.isEngineeringObject()) {
> again, is it even possible that this fails?
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/openengsb/openengsb/pull/853/files#r5599254
>