public void verify_shift_number() { // arrange var player = KeyStreams.ExclaimationMark(); var provider = new KeyProvider(player, passwordModeService, desktopLockEventService); // act var processedKeys = ToEnumerable(provider, player); // assert Assert.Equal(new[] { "!" }, processedKeys.Single().Input); }
public async Task verify_shift_number() { // arrange var player = KeyStreams.ExclaimationMark(); var provider = new KeyProvider(player, passwordModeService, desktopLockEventService, settingsProvider); // act var processedKeys = await provider.GetKeyStream().ToList(); // assert Assert.Equal(new[] { "!" }, processedKeys.Single().Input); }