view Agendas/trunk/src/Agendas.Tests/Blog/PostWriterWebServiceAdapterTests.cs @ 172:a18d4d12fc36

Se ordena el historial por Nro de Orden
author juanjose.montesdeocaarbos
date Sat, 06 Aug 2011 15:11:41 -0300
parents 734d3f0853bf
children 03cf6a377ee8
line wrap: on
line source

using System.ServiceModel;
using Agendas.Blog.Impl;
using NUnit.Framework;

namespace AltNetHispano.Agendas.Tests.Blog
{
  [TestFixture]
  public class PostWriterWebServiceAdapterTests
  {
    [Test]
    [ExpectedException(typeof(EndpointNotFoundException))]
    public void Si_la_url_es_invalida_debe_lanzar_excepcion()
    {
      var srv = new PostWriterWebServiceAdapter(new BlogPublicadorConfig("http://dummy/dummy.aspx", "dummy", "dummy"));
      srv.WriteBlogPost(null, null, null, false);
    }
  }

}