@Test
public void getPackageWithoutClassName_LongPackage() {

    FactIdentifier factIdentifier = new FactIdentifier("test", "com.project.Test");
    assertEquals(factIdentifier.getPackageWithoutClassName(), "com.project");
}