@Test
public void request() throws Exception {

    final String permission = "permission";
    final PermissionAuthorizationResponse response = new PermissionAuthorizationResponse(permission, true);
    when(permissionRequesterFragment.request(permission)).thenReturn(Single.just(response));
    permissionsRequester.request(permission).test()
            .assertValue(response)
            .assertComplete()
            .assertNoErrors();
}