Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Tests/EventoObjectMother.cs @ 4:49b572535156
proponer van
publicar van propuesta
comportamiento ante excepcion en publicador
author | nelopauselli |
---|---|
date | Tue, 08 Feb 2011 00:08:49 -0300 |
parents | |
children | 05996fa19e04 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Agendas/trunk/src/Agendas.Tests/EventoObjectMother.cs Tue Feb 08 00:08:49 2011 -0300 @@ -0,0 +1,18 @@ +using System; +using AltNetHispano.Agendas.Domain; + +namespace AltNetHispano.Agendas.Tests +{ + public static class EventoObjectMother + { + public static Van GetVanValidaParaPublicar() + { + return new Van {Fecha = DateTime.Now, Ponente = "jjmontes"}; + } + + public static Cafe GetCafeValidoParaPublicar() + { + return new Cafe { Fecha = DateTime.Now }; + } + } +} \ No newline at end of file