public void removeExtra(String name) {
        if (mExtras != null) {
            mExtras.remove(name);
            if (mExtras.size() == 0) {
                mExtras = null;
            }
        }
    }
Used for mocks and constants, but put and get extras must be implemented
rxandroidble/src/test/java/android/content/Intent.java