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(); }