@Test
public void sendAck() throws Exception {

    mIntent.setAction("clientAddr")
            .putExtras(mBuilder.ackAddress("ackAddr").build());
    mAck.sendAck(mContext, mIntent);
    verify(mContext).sendBroadcast(mIntentCaptor.capture());
    assertThat(mIntentCaptor.getValue().getAction(), is("ackAddr"));
    assertThat(mIntentCaptor.getValue().getStringExtra(Nanny.PROTOCOL_VERSION), is(Nanny.PPP_0_1));
    assertThat(mIntentCaptor.getValue().getStringExtra(Nanny.CLIENT_ADDRESS), is("clientAddr"));
}