### Question:
RenameJob extends MoveJob { @Override public String getType() { return RefactoringJobs.RENAME; }  @Override String getType();  }### Answer:
@Test public void changeEntityType() throws Throwable { DocumentReference aliceReference = new DocumentReference("wiki", "Users", "Alice"); SpaceReference bobReference = new SpaceReference("wiki", "Bob"); run(createRequest(aliceReference, bobReference)); verifyNoMove(); verify(this.mocker.getMockedLogger()).error("You cannot change the entity type (from [{}] to [{}]).", aliceReference.getType(), bobReference.getType()); }