The Publisher verification
Along with the understanding of the importance of the Reactive Streams TCK, it is necessary to get the essential knowledge of the toolkit usage. To acquire a basic knowledge of how this kit works, we are going to verify one of the components of our news service. Since a Publisher is an essential part of our system, we are going to start with its analysis. As we remember, TCK provides org.reactivestreams.tck.PublisherVerification to check the fundamental behavior of the Publisher. In general, PublisherVerification is an abstract class which mandates us to extend just two methods. Let's take a look at the following example in order to understand how to write a verification of the previously developed NewsServicePublisher ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access