### Question:
AbiTypesGenerator extends Generator { static String getPackageName(Class<?> cls) { return cls.getPackage().getName(); }  static void main(String[] args);  }### Answer:
@Test public void testGetPackageName() { assertThat(AbiTypesGenerator.getPackageName(String.class), is("java.lang")); }
@Test public void testGetPackageName() { assertEquals(AbiTypesGenerator.getPackageName(String.class), ("java.lang")); }