Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Tests/Blog/PostWriterWebServiceAdapterTests.cs @ 109:6bd9be78caa0
Merge
author | Nelo@Kenia.neluz.int |
---|---|
date | Tue, 07 Jun 2011 23:21:07 -0300 |
parents | 1d820f17fc75 |
children | 734d3f0853bf |
comparison
equal
deleted
inserted
replaced
108:786a90e26c9b | 109:6bd9be78caa0 |
---|---|
1 using System; | |
2 using System.Collections.Generic; | |
3 using System.Configuration; | |
4 using System.Linq; | |
5 using System.ServiceModel; | |
6 using System.Text; | |
7 using Agendas.Blog; | |
8 using Agendas.Blog.Exceptions; | |
9 using Agendas.Blog.Impl; | |
10 using AltNetHispano.Agendas.Domain; | |
11 using Moq; | |
12 using NUnit.Framework; | |
13 | |
14 namespace AltNetHispano.Agendas.Tests.Blog | |
15 { | |
16 [TestFixture] | |
17 public class PostWriterWebServiceAdapterTests | |
18 { | |
19 [Test] | |
20 [ExpectedException(typeof(EndpointNotFoundException))] | |
21 public void Si_la_url_es_invalida_debe_lanzar_excepcion() | |
22 { | |
23 var srv = new PostWriterWebServiceAdapter(new BlogPublicadorConfig("http://dummy/dummy.aspx", "dummy", "dummy")); | |
24 srv.WriteBlogPost(null, null, null, false); | |
25 } | |
26 } | |
27 | |
28 } |