Mercurial > altnet-hispano
view Agendas/trunk/src/Agendas.Tests/Cruds/EventoTests.cs @ 65:ebce59b45b50
Agregado de version inicial del publicador para el blog
author | ROWIES@ardejorxp.inworx.corp |
---|---|
date | Tue, 17 May 2011 18:04:56 -0300 |
parents | c40b97bbed01 |
children | 963b71ea6028 |
line wrap: on
line source
using System; using AltNetHispano.Agendas.Repositories.Memory; using Moq; using NUnit.Framework; namespace AltNetHispano.Agendas.Tests.Cruds { [TestFixture] public class EventoCrudTests : TestBase { private EventoCrud _eventoCrud; [SetUp] public void CreateCrud() { _eventoCrud = new EventoCrud(() => new EventoRepository(), ()=>new PonenteRepository(), () => new Mock<IDisposable>().Object); } [Test] public void Create() { _eventoCrud.Create(); } [Test] public void Read() { _eventoCrud.Read(); } [Test] public void Update() { _eventoCrud.Update(); } [Test] public void Delete() { _eventoCrud.Delete(); } } }