@Test
public void shouldResultEmptyPackageNameForInvalidDataString() {

    // when: passing null
    val resultForNull = IntentUtils.packageNameFrom(null);
    assertThat(resultForNull, is(""));
    // when: passing empty string
    val resultForEmpty = IntentUtils.packageNameFrom("");
    assertThat(resultForEmpty, is(""));
    // when: passing string with invalid format
    val resultForInvalidFormat = IntentUtils.packageNameFrom("com.abc");
    assertThat(resultForInvalidFormat, is(""));
}