Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Tests/Cruds/PersonaCrudMemoryTests.cs @ 209:a36a76bd6ec3
Se soluciona ticket 173. Se agrega eliminación de personas siempre y cuando no esté asociada a ninguna van.
author | alabra |
---|---|
date | Wed, 24 Aug 2011 19:27:30 -0300 |
parents | 33e57fd1a6c9 |
children |
comparison
equal
deleted
inserted
replaced
208:607384590bf8 | 209:a36a76bd6ec3 |
---|---|
28 } | 28 } |
29 | 29 |
30 [SetUp] | 30 [SetUp] |
31 public void CreateCrud() | 31 public void CreateCrud() |
32 { | 32 { |
33 _test = new PersonaCrud(() => new PersonaRepository(), () => new Mock<IDisposable>().Object); | 33 _test = new PersonaCrud(() => new PersonaRepository(), () => new Mock<IDisposable>().Object, |
34 () => new EventoRepository()); | |
34 } | 35 } |
35 | 36 |
36 #endregion | 37 #endregion |
37 | 38 |
38 [Test] | 39 [Test] |
62 [Test] | 63 [Test] |
63 public void Update() | 64 public void Update() |
64 { | 65 { |
65 _test.Update(); | 66 _test.Update(); |
66 } | 67 } |
68 | |
69 [Test] | |
70 public void Delete() | |
71 { | |
72 _test.Delete(); | |
73 } | |
67 } | 74 } |
68 } | 75 } |