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