public void UnfoundProperyOnOpenTypeResultsInOpenPropertySelectionItem() { ODataPathSegment segment = SelectPathSegmentTokenBinder.ConvertNonTypeTokenToSegment(new NonSystemToken("Fully.Qualified.Namespace.Effervescence", null, null), HardCodedTestModel.TestModel, HardCodedTestModel.GetPaintingType()); segment.ShouldBeOpenPropertySegment("Fully.Qualified.Namespace.Effervescence"); }
public void UnqualifiedActionNameOnOpenTypeShouldBeInterpretedAsAnOpenProperty() { ODataPathSegment segment = SelectPathSegmentTokenBinder.ConvertNonTypeTokenToSegment(new NonSystemToken("Restore", null, null), HardCodedTestModel.TestModel, HardCodedTestModel.GetPaintingType()); segment.ShouldBeOpenPropertySegment("Restore"); }