view Agendas/trunk/src/Agendas.Repositories.Tests/PatrocinadorCrudMemoryTests.cs @ 235:c61954d24c8c

Quitando ponente principal y utilizando siempre la lista de ponentes
author nelopauselli
date Tue, 04 Oct 2011 20:42:35 -0300
parents 68b09c30b0d2
children 72a96459f910
line wrap: on
line source

namespace Agendas.Repositories.Tests
{
	//[TestFixture]
	//public class PatrocinadorCrudMemoryTests
	//{
	//    private PatrocinadorCrud _eventoCrud;

	//    #region SetUp

	//    [SetUp]
	//    public void BorrarRepositorios()
	//    {
	//        PatrocinadorRepository.Clear();
	//    }

	//    [SetUp]
	//    public void SetearUsuario()
	//    {
	//        var seguridad = new Mock<ISeguridad>();
	//        seguridad.Setup(s => s.GetUserName()).Returns("neluz");
	//        IdentityContext.Init(seguridad.Object, new PersonaRepository());
	//    }

	//    [SetUp]
	//    public void CreateCrud()
	//    {
	//        _eventoCrud = new PatrocinadorCrud(() => new PatrocinadorRepository(), () => new Mock<IDisposable>().Object);
	//    }

	//    #endregion

	//    [Test]
	//    public void Create()
	//    {
	//        _eventoCrud.Create();
	//    }

	//    [Test]
	//    public void Read()
	//    {
	//        _eventoCrud.Read();
	//    }

	//    [Test]
	//    public void Update()
	//    {
	//        _eventoCrud.Update();
	//    }

	//    [Test]
	//    public void Delete()
	//    {
	//        _eventoCrud.Delete();
	//    }

	//}
}