@Test
public void shouldExtractPackageNameFromComponentNameFlattenString() {

    // when: flatten component name string follows pattern 'com.abc/MyActivity'
    val packageName = ComponentNameUtils.packageNameFrom("com.abc/MyActivity");
    // then
    assertThat(packageName, is("com.abc"));
}