    @Test
    public void computation_should_send_intent_with_computer_result() {

        final List<Intent> receivedIntents = new ArrayList<>();
        BroadcastReceiver broadcastReceiver = new BroadcastReceiver() {
            @Override
            public void onReceive(Context context, Intent intent) {
                receivedIntents.add(intent);
            }
        };

        IntentFilter filter = new IntentFilter();
        filter.addAction(Computation.RESULT_INTENT_ACTION);

        RuntimeEnvironment.application.registerReceiver(broadcastReceiver, filter);

        service.onHandleIntent(new Intent());

        assertEquals(1, receivedIntents.size());
        Intent intent = receivedIntents.get(0);
        assertTrue(intent.hasExtra(Computation.RESULT_VALUE_INTENT_EXTRA_KEY));
    }