Пример #1
0
        public void text_for_single_selection_fixture_should_be_change()
        {
            var fixture = new FixtureGraph();

            fixture.Policies.SelectionMode = SelectionMode.Single;

            var tag = new RemoveLinkTag(fixture);

            tag.Text().ShouldEqual("change");
        }
Пример #2
0
        public void text_for_multiple_selection_mode_should_be_delete()
        {
            var fixture = new FixtureGraph();

            fixture.Policies.SelectionMode = SelectionMode.Any;

            var tag = new RemoveLinkTag(fixture);

            tag.Text().ShouldEqual("delete");
        }