public void TestImpossibleFilterModeler() { Trace.WriteLine("Running ImpossibleFilter Test."); var profile = new MockImpossibleFilterUserProfile(); // Only No Pork recipes are allowed, of which there are none in our mock data var session = this.context.CreateModelingSession(profile); var set = session.Generate(5, 1); }
public void TestImpossibleFilterModeler() { Trace.WriteLine("Running ImpossibleFilter Test."); var profile = new MockImpossibleFilterUserProfile(); // Only No Pork recipes are allowed, of which there are none in our mock data Assert.Catch(typeof (ImpossibleQueryException), delegate { var session = _context.CreateModelingSession(profile); var set = session.Generate(5, 1); } ); }