FinishBackupFactory { FinishBackupRequest createRequest(InternalDistributedMember sender, Set<InternalDistributedMember> recipients, int processorId) { return new FinishBackupRequest(sender, recipients, processorId, this); }    }
@Test public void createRequestReturnsFinishBackupRequest() throws Exception { assertThat(finishBackupFactory.createRequest(sender, recipients, 1)) .isInstanceOf(FinishBackupRequest.class); }