public void TraitMethodReturnsTraitValue() { MigrationInfo migrationinfo = Create(); const string value = "bar"; migrationinfo.AddTrait("foo", value); migrationinfo.Trait("foo").ShouldBeSameAs(value); }
public void TraitMethodReturnsNullForNonExistentTrait() { MigrationInfo migrationinfo = Create(); migrationinfo.Trait("foo").ShouldBeNull(); }