@Test
    @DataProvider({
        "   1000000, 1ms",
        " 999999999, 999ms",
        "1000000000, 1s 0ms",
        "1000999999, 1s 0ms",
        "1001000000, 1s 1ms"})
    public void toScenarioDurationForDurationOver1ms(final long nanoseconds, final String expectedDuration) {
        final String actualDuration = MetadataMapper.toHumanReadableScenarioDuration(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