    @Test(expected = IllegalArgumentException.class)
    public void testMissingServerFile() {

        URL serverUrl = RemoteNotificationsTest.class.getResource("/not-existing.json");
        RemoteNotifications remoteNotifications = new RemoteNotifications(RuntimeEnvironment.application.getApplicationContext(), serverUrl);
        remoteNotifications.updateNotificationsFromServer(UpdatePolicy.NOW);
    }