@Override
    public synchronized boolean onActivity() {
        if (!firstEventReceived) {
            firstEventReceived = true;
            return true;
        }
        return false;
    }
@Test
    public void testOnActivity_FirstCall() {
        assertTrue(strategy.onActivity(), "First call of onActivity() should return true.");
    }