public void PersistenceConfiguration_Provider_Throws_When_Invalid_Prefix() { var config = new PersistenceTypeLoaderElement() { Key = "blah-testing" }; Assert.AreEqual("", config.Alias); }
public void PersistenceConfiguration_Provider_Throws_When_Invalid_Key_Name() { var config = new PersistenceTypeLoaderElement() { Key = "rw-1" }; Assert.AreEqual("", config.Alias); }
public void PersistenceConfiguration_Provider_Correctly_Prefixed_And_Alias_Set() { var config = new PersistenceTypeLoaderElement() { Key = "rw-testing" }; Assert.AreEqual("testing", config.Alias); }