using System.ComponentModel; using Moq; using NUnit.Framework; using NzbDrone.Core.Model; using NzbDrone.Core.DecisionEngine; using NzbDrone.Core.Test.Framework; namespace NzbDrone.Core.Test.DecisionEngineTests { [TestFixture] public class AllowedDownloadSpecificationFixture : CoreTest { private EpisodeParseResult parseResult; private Mock pass1; private Mock pass2; private Mock pass3; private Mock fail1; private Mock fail2; private Mock fail3; [SetUp] public void Setup() { pass1 = new Mock(); pass2 = new Mock(); pass3 = new Mock(); fail1 = new Mock(); fail2 = new Mock(); fail3 = new Mock(); pass1.Setup(c => c.IsSatisfiedBy(It.IsAny())).Returns(true); pass2.Setup(c => c.IsSatisfiedBy(It.IsAny())).Returns(true); pass3.Setup(c => c.IsSatisfiedBy(It.IsAny())).Returns(true); fail1.Setup(c => c.IsSatisfiedBy(It.IsAny())).Returns(false); fail2.Setup(c => c.IsSatisfiedBy(It.IsAny())).Returns(false); fail3.Setup(c => c.IsSatisfiedBy(It.IsAny())).Returns(false); parseResult = new EpisodeParseResult(); } [Test] public void should_call_all_specifications() { throw new InvalidAsynchronousStateException(); } } }