예제 #1
0
        public void CheckImplementationAgainstModel(List<Operation> operations)
        {
            var real = new ProductionUserHandler();
            var model = new UserCountModel();

            ApplyOperations(operations, real);
            ApplyOperations(operations, model);

            model.Validate(real);
        }
예제 #2
0
 public void Validate(ProductionUserHandler realHandler)
 {
     Assert.Equal(_users.Count, realHandler.UserCount);
 }