public void DatabaseInitializerElement_throws_converting_invalid_type()
 {
     var param = new DatabaseInitializerElement { InitializerTypeName = "Not.A.Type" };
     Assert.True(Assert.Throws<TypeLoadException>(() => param.GetInitializerType()).Message.Contains(" 'Not.A.Type' "));
 }
 public void DatabaseInitializerElement_converts_valid_type()
 {
     var param = new DatabaseInitializerElement { InitializerTypeName = "System.Int32" };
     Assert.Equal(typeof(int), param.GetInitializerType());
 }