GetWifiStateInteractor extends MaybeInteractor<Integer, EmptyParams> { @Override protected Maybe<Integer> buildReactiveStream(EmptyParams params) { return receiverActionProvider.getWifiState(); } GetWifiStateInteractor(ReceiverActionProvider receiverActionProvider, ThreadExecutor threadExecutor,
      PostExecutionThread postExecutionThread);   }
@Test public void shouldBuildReactiveStreamProperly() throws Exception { getWifiStateInteractor.buildReactiveStream(null); verify(mockReceiverActionProvider).getWifiState(); verifyNoMoreInteractions(mockReceiverActionProvider); verifyZeroInteractions(mockThreadExecutor); verifyZeroInteractions(mockPostExecutionThread); }