@Test
public void testTelephonyCallHungup() {

    final Telephony telephony = Mockito.mock(Telephony.class);
    final TelephonyEvent event =
            new TelephonyEvent(telephony, TelephonyEvent.HUNGUP);
    platform.telephonyCallHungup(event);
    Assert.assertFalse(platform.isUserInputActive());
    Assert.assertTrue(platform.isHungup());
    Assert.assertFalse(platform.isClosed());
}