1 package com.android.bluetooth.hdp; 2 3 import android.test.InstrumentationTestCase; 4 5 import junit.framework.Assert; 6 7 public class HealthServiceTest extends InstrumentationTestCase { 8 testRegisterAppConfiguration()9 public void testRegisterAppConfiguration() { 10 HealthService testService = new HealthService(); 11 12 // Attach a context to the Health Service for permission checks 13 testService.attach(getInstrumentation().getContext(), null, null, null, null, null); 14 15 // Test registering a null config 16 assertEquals(false, testService.registerAppConfiguration(null, null)); 17 } 18 19 } 20