public static void TheCurrentUserShouldBeTheMostRecentToLogIn()
        {
            var console = new GenericGameConsole();
            var kyle    = new User(Name: "Kyle", Password: "******");

            console.AddUser(kyle);
            console.Login(username: kyle.Name, password: kyle.Password);
            var caroline = new User(Name: "Caroline", Password: "******");

            console.AddUser(caroline);

            console.Login(username: caroline.Name, password: caroline.Password);

            console.CurrentUser.Should().NotBe(kyle);
            console.CurrentUser.Should().Be(caroline);
        }
        public static void ANewlyRegisteredUserShouldAppearInTheListOfUsers()
        {
            var console = new GenericGameConsole();
            var kyle    = new User(Name: "Kyle", Password: "******");

            console.AddUser(kyle);

            Assert.True(console.Users.Contains(kyle));
        }
        public static void ARegisteredUserCanLogin()
        {
            var console = new GenericGameConsole();
            var dad     = new User(Name: "Stephen", Password: "******");

            console.AddUser(dad);
            bool loginSuccessful = console.Login(username: dad.Name, password: dad.Password);

            Assert.True(loginSuccessful);
            Assert.AreSame(expected: dad, console.CurrentUser);
        }