Keyboard keys swapped after reboot: “Alt” and “Super” (Lubuntu 18.04, lxde)

After having rebooted and connected, as always, my Goldtouch keyboard to my laptop, the keys “Alt” and “Super” were swapped on both sides (i.e. on the right-hand side “Alt Gr” with the right “Super”-key. On my lxde-desktop (Lubuntu 18.04), there doesn’t seem to be a proper depiction of every key assigned to the current keyboard…

Details

Mocking completeExceptionally with RestAssured (spring-mock-mvc) call to Controller (in Java)

Good morning, I’ve struggled with this for a day and I cannot get my head around what I’m doing wrong. Thanks in advance for any help! I have a test method: @Test public void shouldReturnConflictWhenPlayerAlreadyRegistered() { CompletableFuture<Void> failFlow = new CompletableFuture<>(); failFlow.completeExceptionally(new CompletionException(new PlayerNameAlreadyRegisteredException( “Player already registered”))); when(mockedWhackAMoleService.register(any(String.class))).thenReturn(failFlow); given().params(“name”, “dan”) .standaloneSetup(registrationResource) .when() .post(“/players”) .then() .statusCode(HttpStatus.CONFLICT.value());…

Details