@Test public void testGetOccurrenceStatusVerbatim() { String occurrenceStatusVerbatim = null; ETLStatistics etlStatistics = new ETLStatistics(); NsrTaxonTransformer nsrTaxonTransformer = new NsrTaxonTransformer(etlStatistics); NsrTaxon nsrTaxon = nsrTaxa.get(0); Object returned = ReflectionUtil.callStatic(NsrTaxonTransformer.class, "getOccurrenceStatusVerbatim", new Class[]{Status.class}, new Object[]{nsrTaxon.getStatus()}); occurrenceStatusVerbatim = (String) returned; String expected = "1b Incidenteel/Periodiek. Minder dan 10 jaar achtereen voortplanting en toevallige gasten."; assertNotNull("01", occurrenceStatusVerbatim); assertEquals("02", expected, occurrenceStatusVerbatim); }
private static String getOccurrenceStatusVerbatim(Status status) { return status == null ? null : val(status.getStatus()); }
NsrTaxonTransformer extends AbstractJSONTransformer<Taxon> { private static String getOccurrenceStatusVerbatim(Status status) { return status == null ? null : val(status.getStatus()); } }
NsrTaxonTransformer extends AbstractJSONTransformer<Taxon> { private static String getOccurrenceStatusVerbatim(Status status) { return status == null ? null : val(status.getStatus()); } NsrTaxonTransformer(ETLStatistics stats); }
NsrTaxonTransformer extends AbstractJSONTransformer<Taxon> { private static String getOccurrenceStatusVerbatim(Status status) { return status == null ? null : val(status.getStatus()); } NsrTaxonTransformer(ETLStatistics stats);  }
NsrTaxonTransformer extends AbstractJSONTransformer<Taxon> { private static String getOccurrenceStatusVerbatim(Status status) { return status == null ? null : val(status.getStatus()); } NsrTaxonTransformer(ETLStatistics stats);   }