Init BatteryUtils in constructor am: 116fec5b25
am: d6ff657b78
Change-Id: I876a9fc869ae48ef6bf45080c6036980423d1fe5
This commit is contained in:
@@ -94,4 +94,11 @@ public class BackgroundCheckActionTest {
|
||||
|
||||
assertThat(mBackgroundCheckAction.isActionActive(mAnomaly)).isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testConstructor_batteryUtilsNotNull() {
|
||||
mBackgroundCheckAction = new BackgroundCheckAction(mContext);
|
||||
|
||||
assertThat(mBackgroundCheckAction.mBatteryUtils).isNotNull();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user