Skip to content

BehaviorExtension implementation (extensions+tests)#310

Merged
TanaseMariusatstarion merged 2 commits into
developmentfrom
101-feature-implement-behaviorextensions
Jun 24, 2026
Merged

BehaviorExtension implementation (extensions+tests)#310
TanaseMariusatstarion merged 2 commits into
developmentfrom
101-feature-implement-behaviorextensions

Conversation

@TanaseMariusatstarion

Copy link
Copy Markdown
Contributor

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the SysML2.NET code style guidelines
  • I have provided test coverage for my change (where applicable)

Description

Fixed #101 implementation of Behavior extension.


subject.AssignOwnership(new FeatureMembership(), parameter);
subject.AssignOwnership(new FeatureMembership(), plainFeature);
Assert.That(subject.ComputeParameter(), Does.Contain(parameter));

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Multiple Assert.That have to be surrounded by the Assert.EnterMultipleScope()

@sonarqubecloud

Copy link
Copy Markdown

@TanaseMariusatstarion TanaseMariusatstarion merged commit 1f97513 into development Jun 24, 2026
8 checks passed
@TanaseMariusatstarion TanaseMariusatstarion deleted the 101-feature-implement-behaviorextensions branch June 24, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Implement BehaviorExtensions

2 participants