annotate 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
rev   line source
4
49b572535156 proponer van
nelopauselli
parents:
diff changeset
1 using System;
49b572535156 proponer van
nelopauselli
parents:
diff changeset
2 using AltNetHispano.Agendas.Domain;
49b572535156 proponer van
nelopauselli
parents:
diff changeset
3
49b572535156 proponer van
nelopauselli
parents:
diff changeset
4 namespace AltNetHispano.Agendas.Tests
49b572535156 proponer van
nelopauselli
parents:
diff changeset
5 {
49b572535156 proponer van
nelopauselli
parents:
diff changeset
6 public static class EventoObjectMother
49b572535156 proponer van
nelopauselli
parents:
diff changeset
7 {
49b572535156 proponer van
nelopauselli
parents:
diff changeset
8 public static Van GetVanValidaParaPublicar()
49b572535156 proponer van
nelopauselli
parents:
diff changeset
9 {
49b572535156 proponer van
nelopauselli
parents:
diff changeset
10 return new Van {Fecha = DateTime.Now, Ponente = "jjmontes"};
49b572535156 proponer van
nelopauselli
parents:
diff changeset
11 }
49b572535156 proponer van
nelopauselli
parents:
diff changeset
12
49b572535156 proponer van
nelopauselli
parents:
diff changeset
13 public static Cafe GetCafeValidoParaPublicar()
49b572535156 proponer van
nelopauselli
parents:
diff changeset
14 {
49b572535156 proponer van
nelopauselli
parents:
diff changeset
15 return new Cafe { Fecha = DateTime.Now };
49b572535156 proponer van
nelopauselli
parents:
diff changeset
16 }
49b572535156 proponer van
nelopauselli
parents:
diff changeset
17 }
49b572535156 proponer van
nelopauselli
parents:
diff changeset
18 }