CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of unit-test
C#
public void Send_DatabaseTimeOutNewsletterFails_LastPublishDateNotChanged()
{          
    //Arrange
    var originalNewsletter = new AutomaticNewsletter()
                         {
                             Id = 1,
                             Name = "TestNewsletter",
                             LastPublishStatus = PublishStatus.NotSent,
                             LastPublishDate = new DateTime(2000, 01, 01),
                             PublishDay = DayOfWeek.Friday,
by serbrech   January 27, 2010 @ 4:28am
215 Views
no comments
 
C#
public class EnableArtistTrackActionSpecs
{
    private readonly Playlist playlistFake;
    private readonly ArtistTrack trackToEnable;
 
    public EnableArtistTrackActionSpecs()
    {
        playlistFake = new Playlist();
        trackToEnable = MockRepository.GenerateStub<ArtistTrack>();
    }
by Scott Muc   October 29, 2009 @ 3:40pm
222 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate