@@ -0,0 +1,1115 @@
+package com.farmerbb.taskbar.service;%0A%0Aimport android.content.Intent;%0A%0Aimport com.farmerbb.taskbar.util.U;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.robolectric.Robolectric;%0Aimport org.robolectric.RobolectricTestRunner;%0Aimport org.robolectric.shadows.ShadowAccessibilityService;%0A%0Aimport static com.farmerbb.taskbar.util.Constants.ACTION_ACCESSIBILITY_ACTION;%0Aimport static com.farmerbb.taskbar.util.Constants.EXTRA_ACTION;%0Aimport static org.junit.Assert.assertTrue;%0Aimport static org.robolectric.Shadows.shadowOf;%0A%0A@RunWith(RobolectricTestRunner.class)%0Apublic class PowerMenuServiceTest %7B%0A    @Test%0A    public void testAccessibilityActionPerforming() %7B%0A        PowerMenuService service = Robolectric.setupService(PowerMenuService.class);%0A        Intent intent = new Intent(ACTION_ACCESSIBILITY_ACTION);%0A        int testAction = 1000;%0A        intent.putExtra(EXTRA_ACTION, testAction);%0A        U.sendBroadcast(service, intent);%0A        ShadowAccessibilityService shadowService = shadowOf(service);%0A        assertTrue(shadowService.getGlobalActionsPerformed().contains(testAction));%0A    %7D%0A%7D%0A

Add test for PowerMenuService