public void SettingsManager_WillAdd_AUser() { SettingsManager.AddUser(SharedData.Users.FirstOrDefault()); var sut = SettingsManager.Settings.Where(x => x.User.UserName == "Programazing").FirstOrDefault(); sut.User.UserName.Should().Be("Programazing"); }