### Question:
RollbackSnapshotRequestBinder extends BaseProfitBricksRequestBinder<Snapshot.Request.RollbackPayload> { @Override protected String createPayload(Snapshot.Request.RollbackPayload payload) { requestBuilder.append("<ws:rollbackSnapshot>") .append("<request>") .append(format("<snapshotId>%s</snapshotId>", payload.snapshotId())) .append(format("<storageId>%s</storageId>", payload.storageId())) .append("</request>") .append("</ws:rollbackSnapshot>"); return requestBuilder.toString(); } protected  RollbackSnapshotRequestBinder();   }### Answer:
@Test public void testRollbackPayload() { RollbackSnapshotRequestBinder binder = new RollbackSnapshotRequestBinder(); Snapshot.Request.RollbackPayload payload = Snapshot.Request.createRollbackPayload("snapshot-id", "storage-id"); String actual = binder.createPayload(payload); assertNotNull(actual, "Binder returned null payload"); assertEquals(actual, expectedPayload); }