@Test
    @DataProvider({
        "  10000000, (10ms)",
        " 999999999, (999ms)",
        "1000000000, (1s 0ms)",
        "1000999999, (1s 0ms)",
        "1001000000, (1s 1ms)"})
    public void toStepDurationForDurationOver1ms(final long nanoseconds, final String expectedDuration) {
        final String actualDuration = MetadataMapper.toHumanReadableStepDuration(nanoseconds);

        assertThat(actualDuration).isEqualTo(expectedDuration);
    }
Maps metadata of scenarios and steps to the corresponding AsciiDoc representations.
jgiven-core/src/test/java/com/tngtech/jgiven/report/asciidoc/MetadataMapperTest.java