public void When_HasStream_is_set_it_returns_an_OdcmMediaClass() { var testCase = new EdmxTestCase() .AddEntityType(EdmxTestCase.Keys.EntityType, (_, entityType) => entityType.AddAttribute("HasStream", true)); var odcmModel = _odcmReader.GenerateOdcmModel(testCase.ServiceMetadata()); OdcmType odcmEntityType = VerifyEntityType(odcmModel, testCase[EdmxTestCase.Keys.EntityType]); odcmEntityType .Should() .BeOfType <OdcmMediaClass>("because an entity type with the HasStream facet set should be an OdcmMediaClass"); }