@Test
public void startRequest() throws Exception {

    when(Nanny.isPermissionNannyInstalled(mContext)).thenReturn(true);
    mNannyRequest.addFilter(mEvent);
    mNannyRequest.setPayload(mIntent);
    mNannyRequest.startRequest(mContext);
    verify(mContext).registerReceiver((BroadcastReceiver) notNull(), mIntentFilterCaptor.capture());
    assertThat(mIntentFilterCaptor.getValue().countActions(), is(1));
    assertThat(mIntentFilterCaptor.getValue().getAction(0), is(mNannyRequest.mClientAddr));
    verify(mContext).sendBroadcast(mIntent);
}