public void Setup() { _desire = new Mock <ADesire>(); _desire.Setup(x => x.IsAchievable()).Returns(true); var intent = new Intention <AnAction, AnAgent, AnEnvironment>(_desire.Object); _result = intent.IsAchievable(); }