public void SetUp()
        {
            rule0 = Substitute.For <IMoveRule>();
            rule1 = Substitute.For <IMoveRule>();

            _instance = new CollectionMoveRule();
            _instance.AddRule(rule0);
            _instance.AddRule(rule1);
        }
        public IMoveRule BuildVerticalMoveRule()
        {
            CollectionMoveRule rules = new CollectionMoveRule();

            DirectionalMoveRule rule = new DirectionalMoveRule(GameConfig.MinimumPiecesToCapture, new GridCellKey(-1, 0));

            InjectionBinder.injector.Inject(rule, false);
            rules.AddRule(rule);

            rule = new DirectionalMoveRule(GameConfig.MinimumPiecesToCapture, new GridCellKey(1, 0));
            InjectionBinder.injector.Inject(rule, false);
            rules.AddRule(rule);

            return(rules);
        }