Exemplo n.º 1
0
        public InMemoryUserService GetUserService()
        {
            var formatRules = new List<FormatRule>
            {
                new NowFormatRule(),
                new SecondsFormatRule(),
                new MinutesFormatRule()
            };

            var userService = new InMemoryUserService(formatRules);
            return userService;
        }
 public void TestInitialize()
 {
     userService = GetUserService();
 }