@Test
public void shouldHavePackageName() {

    assertThat(Utils.hasPackageName(null)).isFalse();
    assertThat(Utils.hasPackageName("NoPackage")).isFalse();
    assertThat(Utils.hasPackageName("com.package.MyClass")).isTrue();
}