diff Agendas/trunk/src/Agendas.Tests/TestBase.cs @ 138:62791999ad01

Agregando relación entre Evento y Patrocinador
author nelopauselli
date Thu, 28 Jul 2011 10:13:28 -0300
parents 7a2eeb9e9bf9
children e6e6bfb1da9e
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Tests/TestBase.cs	Thu Jul 28 09:26:24 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Tests/TestBase.cs	Thu Jul 28 10:13:28 2011 -0300
@@ -1,6 +1,5 @@
 using AltNetHispano.Agendas.Domain;
 using AltNetHispano.Agendas.Domain.Repositories;
-using AltNetHispano.Agendas.Domain.Services;
 using AltNetHispano.Agendas.Repositories.Memory;
 using Moq;
 using NUnit.Framework;
@@ -19,6 +18,12 @@
 			get { return new PersonaRepository(); }
 		}
 
+		protected static IPatrocinadorRepository DefaultPatrocinadorRepository
+		{
+			get { return new PatrocinadorRepository(); }
+		}
+		
+
 		[SetUp]
 		public void LimpiarEventos()
 		{
@@ -26,6 +31,12 @@
 		}
 
 		[SetUp]
+		public void PatrocinadoresEventos()
+		{
+			PatrocinadorRepository.Clear();
+		}
+
+		[SetUp]
 		public void LimpiarPonentes()
 		{
 			PersonaRepository.Clear();