public ZipkinRule storeSpans ( List < Span > spans ) { try { storage . accept ( spans ) . execute ( ) ; } catch ( IOException e ) { throw Platform . get ( ) . uncheckedIOException ( e ) ; } return this ; }
Stores the given spans directly to setup preconditions for a test .