public void When_the_model_class_has_entity_properties_then_they_are_exposed_on_the_Fetcher() { var field = Any.ComplexOdcmField(); _class.Properties.Add(Any.OdcmProperty(p => p.Type = _class)); var interfaceName = _namespace.Name + ".I" + _class.Name + "Fetcher"; _model.AddType(_class); var proxy = GetProxy(_model); var classType = proxy.GetClass(_class.Namespace, _class.Name); classType.GetInterface(interfaceName).GetMembers().Should().NotBeEmpty(); }