annotate Agendas/trunk/src/Agendas.Tests/EventoObjectMother.cs @ 11:9d6b28a696d1

corrección en método que verifica la autenticación del usuario
author nelo@MTEySS.neluz.int
date Sun, 13 Mar 2011 19:30:58 -0300
parents 49b572535156
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 }