    @Test
    public void whenOnlyOneState() {


        List<ListenerRegistration> registrations = new ArrayList<>();
        registrations.add(newRegistration(GameState.WAITING));
        registrations.add(newRegistration(GameState.WAITING));

        runTest(listenerRegistrationService -> {
            listenerRegistrationService.gameStateChanged(GameState.WAITING);

            verify(pluginManager, times(2)).registerEvents(any(), any());
            verifyZeroInteractions(listenerUnregister);

        }, registrations);

    }