use of org.robolectric.shadows.ShadowSensorManager in project sensey by nisrulz.
the class SenseyTest method setUp.
@Before
public void setUp() {
Context context = RuntimeEnvironment.application.getApplicationContext();
shadowSensorManager = Shadows.shadowOf((SensorManager) context.getSystemService(SENSOR_SERVICE));
sensey = Sensey.getInstance();
sensey.init(context);
}
Aggregations