Searched refs:mockSensor (Results 1 – 1 of 1) sorted by relevance
410 Sensor mockSensor = mock(Sensor.class); in makeSensorEvent() local411 when(mockSensor.getType()).thenReturn(sensorType); in makeSensorEvent()412 FieldSetter.setField(event, SensorEvent.class.getDeclaredField("sensor"), mockSensor); in makeSensorEvent()