### Question:
DmaapPropertiesClient { protected AVPNDmaapBean buildRequestJson(String requestId, String clientSource, String correlator, String serviceInstanceId, String startTime, String finishTime, String requestScope, String requestType, String timestamp, String requestState, String statusMessage, String percentProgress, Boolean wasRolledBack) { RequestStatus requestStatus = buildRequestStatus(timestamp, requestState, statusMessage, percentProgress, wasRolledBack); InstanceReferences instanceReferences = buildInstanceReferences(serviceInstanceId); AsyncRequestStatus asyncRequestStatus = buildAsyncRequestStatus(requestId, clientSource, correlator, startTime, finishTime, requestScope, requestType, requestStatus, instanceReferences); AVPNDmaapBean dmaapBean = new AVPNDmaapBean(); dmaapBean.setAsyncRequestStatus(asyncRequestStatus); return dmaapBean; }  void dmaapPublishRequest(String requestId, String clientSource, String correlator, String serviceInstanceId,
            String startTime, String finishTime, String requestScope, String requestType, String timestamp,
            String requestState, String statusMessage, String percentProgress, Boolean wasRolledBack);  }### Answer:
@Test public void testBuildRequestJson() throws MapperException, IOException { AVPNDmaapBean actualBean = dmaapPropertiesClient.buildRequestJson(requestId, clientSource, correlator, serviceInstanceId, startTime, finishTime, requestScope, requestType, timestamp, requestState, statusMessage, percentProgress, true); AVPNDmaapBean expected = new ObjectMapper().readValue(new File(file), AVPNDmaapBean.class); assertNotNull(actualBean); assertThat(actualBean, sameBeanAs(expected)); }