PrepareBackupFactory { PrepareBackupRequest createRequest(InternalDistributedMember sender, Set<InternalDistributedMember> recipients, int processorId, Properties properties) { return new PrepareBackupRequest(sender, recipients, processorId, this, properties); }    }
@Test public void createRequestReturnsPrepareBackupRequest() throws Exception { assertThat(prepareBackupFactory.createRequest(sender, recipients, 1, null)) .isInstanceOf(PrepareBackupRequest.class); }