shadows/framework/src/main/java/org/robolectric/shadows/ShadowIntent.java
public Class<?> getIntentClass() {
    try {
      return Class.forName(realIntent.getComponent().getClassName());
    } catch (ClassNotFoundException e) {
      throw new RuntimeException(e);
    }
  }
public Class<?> getIntentClass() {
    try {
      return Class.forName(realIntent.getComponent().getClassName());
    } catch (ClassNotFoundException e) {
      throw new RuntimeException(e);
    }
  }
Returns the {@code Class} object set by
{@link Intent#setClass(android.content.Context, Class)}

@return the {@code Class} object set by
{@link Intent#setClass(android.content.Context, Class)}