public void Http409ConflictReturnsNull()
{
var http = new ScriptedHttpFake();
http.Script.Add(() => http.NextResponse = new HttpResponse(HttpStatusCode.Conflict, ""));
var api = new AzureManagementLowLevelApi(http);
var config = MockRepository.GenerateStub<IDeploymentConfiguration>();
Assert.That(api.BeginCreate(TestDeploymentUri, config), Is.Null, "Should return null on 409 conflict");
}