public void CheckImplementationAgainstModel(List<Operation> operations) { var real = new ProductionUserHandler(); var model = new UserCountModel(); ApplyOperations(operations, real); ApplyOperations(operations, model); model.Validate(real); }
public void Validate(ProductionUserHandler realHandler) { Assert.Equal(_users.Count, realHandler.UserCount); }