Exemplo n.º 1
0
        public void SettingsManager_WillAdd_AListOfUsers()
        {
            SettingsManager.AddUsers(SharedData.Users);

            var lastUserName = SharedData.Users.LastOrDefault().UserName;

            var sut = SettingsManager.Settings.LastOrDefault().User.UserName == lastUserName;

            sut.Should().BeTrue();
        }