### Question:
InputManager { public void add (InputProcessor processor) { this.verifyUnique(processor); this.inputMultiplexer.addProcessor(processor); } InputManager(); void setGdxInputProcessor(); void add(InputProcessor processor); void addFirst(InputProcessor processor); void remove(InputProcessor processor); boolean contains(InputProcessor processor); void verifyUnique(InputProcessor processor); Array<InputProcessor> getProcessors(); int countProcessors(); void clear(); static InputManager getInstance();  }### Answer:
@Test (expected = IllegalStateException.class) public void testAddSameProcessor () { InputManager manager = new InputManager(); InputProcessor processor = Mockito.mock(InputProcessor.class); manager.add(processor); manager.add(processor); }