public DiceRollerControllerTests() { _fixture = new Fixture(); _fixture.Customize(new AutoMoqCustomization()); _manager = _fixture.Freeze <Mock <IDiceRollManager> >(); _sut = new DiceRollerController(_manager.Object); }
public void Setup() { roller = new Mock <IRoller>(); sut = new DiceRollerController(roller.Object); }
public void SetController(DiceRollerController controller) { _controller = controller; }