package com.foxx.androidcast.crash;

import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;

import org.junit.Test;

public class CrashReporterProcessTest {

    @Test
    public void isMonitoredIsolatedProcess_vpnAndNetselftest() {
        assertTrue(CrashReporter.isMonitoredIsolatedProcess("com.foxx.androidcast:vpn"));
        assertTrue(CrashReporter.isMonitoredIsolatedProcess("com.foxx.androidcast:netselftest"));
        assertFalse(CrashReporter.isMonitoredIsolatedProcess("com.foxx.androidcast"));
        assertFalse(CrashReporter.isMonitoredIsolatedProcess("com.foxx.androidcast:crashwatcher"));
    }
}
