    @Test
    public void detectListenerWithStartProximityDetection() {

        addSensor(TYPE_PROXIMITY);
        ProximityListener fakeListener = mock(ProximityListener.class);
        sensey.startProximityDetection(fakeListener);
        ProximityDetector detector = getDetector(fakeListener, ProximityDetector.class);
        if (detector != null) {
            assertTrue("Sensor Manager must contain sensor event listener for proximity",
                    shadowSensorManager.hasListener(detector));
        } else {
            fail(
                    "There should be proximity detector in sensey. If not, please, check last version of class and update reflection accessing to it field");
        }
    }