@Test public void testWhenNull() { Assert.assertEquals("0", sut.transform(new UsageMetricStreamSummaryRequest(5, null))); }
@Override public String transform(final UsageMetricStreamSummaryRequest inRequest) { if (inRequest.getStreamRecipientStreamScopeId() == null) { return "0"; } else { return inRequest.getStreamRecipientStreamScopeId().toString(); } }
UsageMetricStreamSummaryRequestToStreamScopeIdTransformer implements
        Transformer<UsageMetricStreamSummaryRequest, String> { @Override public String transform(final UsageMetricStreamSummaryRequest inRequest) { if (inRequest.getStreamRecipientStreamScopeId() == null) { return "0"; } else { return inRequest.getStreamRecipientStreamScopeId().toString(); } } }
UsageMetricStreamSummaryRequestToStreamScopeIdTransformer implements
        Transformer<UsageMetricStreamSummaryRequest, String> { @Override public String transform(final UsageMetricStreamSummaryRequest inRequest) { if (inRequest.getStreamRecipientStreamScopeId() == null) { return "0"; } else { return inRequest.getStreamRecipientStreamScopeId().toString(); } }  }
UsageMetricStreamSummaryRequestToStreamScopeIdTransformer implements
        Transformer<UsageMetricStreamSummaryRequest, String> { @Override public String transform(final UsageMetricStreamSummaryRequest inRequest) { if (inRequest.getStreamRecipientStreamScopeId() == null) { return "0"; } else { return inRequest.getStreamRecipientStreamScopeId().toString(); } }  @Override String transform(final UsageMetricStreamSummaryRequest inRequest); }
UsageMetricStreamSummaryRequestToStreamScopeIdTransformer implements
        Transformer<UsageMetricStreamSummaryRequest, String> { @Override public String transform(final UsageMetricStreamSummaryRequest inRequest) { if (inRequest.getStreamRecipientStreamScopeId() == null) { return "0"; } else { return inRequest.getStreamRecipientStreamScopeId().toString(); } }  @Override String transform(final UsageMetricStreamSummaryRequest inRequest);  }