public void keyReleasesAreRecordedCorrectly() {
int keyCode = KeyEvent.VK_SPACE;
Input input = new Input();
input.keyPressed(getMockKeyEvent(keyCode));
assertTrue(input.isKeyInputActive(keyCode));
input.keyReleased(getMockKeyEvent(keyCode));
assertFalse(input.isKeyInputActive(keyCode));
}