@Test
void shouldBuildResultSummaryWithResultConsumedAfter()
{

    int value = 42_000;
    Map<String,Value> metadata = singletonMap( RESULT_CONSUMED_AFTER_KEY, value( value ) );
    ResultSummary summary = extractor.extractSummary( query(), connectionMock(), 42, metadata );
    assertEquals( 42, summary.resultConsumedAfter( TimeUnit.SECONDS ) );
    assertEquals( value, summary.resultConsumedAfter( TimeUnit.MILLISECONDS ) );
}