public void FilterWorks() { var filter = new ExcludeExperimentalMigrations(); filter.Exclude(new M20190718160123_WithAttributeMigration()).Should().BeTrue(); filter.Exclude(new M20190718160124_WithoutAttributeMigration()).Should().BeFalse(); }
public void HasExperimentalAttributeTrue() { ExcludeExperimentalMigrations.HasExperimentalAttribute(new M20190718160123_WithAttributeMigration()) .Should().BeTrue(); }
public void HasExperimentalAttributeFalse() { ExcludeExperimentalMigrations.HasExperimentalAttribute(new M20190718160124_WithoutAttributeMigration()) .Should().BeFalse(); }
public void HasExperimentalAttributeNull() { ExcludeExperimentalMigrations.HasExperimentalAttribute(null) .Should().BeFalse(); }