com.madewithtea.mockedstreams.MockedStreams
IllegalArgumentException if duration is negative or can't be represented as long milliseconds
IllegalArgumentException