Raven.Tests.ConnectionStrings.check_url_and_defaultdb C# (CSharp) Method

check_url_and_defaultdb() private method

private check_url_and_defaultdb ( ) : void
return void
		public void check_url_and_defaultdb()
		{
			using (var store = new DocumentStore())
			{
				store.ParseConnectionString("Url=http://localhost:8080/;DefaultDatabase=DevMachine;");

				Assert.Equal("http://localhost:8080/", store.Url);
				Assert.Equal("http://localhost:8080/ (DB: DevMachine)", store.Identifier);
				Assert.NotNull(store.ResourceManagerId);
				Assert.NotNull(store.Credentials);
				Assert.Equal("DevMachine", store.DefaultDatabase);
				Assert.True(store.EnlistInDistributedTransactions);
			}
		}