### Question:
ZipInputAdapter { public int getMethod() { return myMethod; } ZipInputAdapter(int method); void closeInputStream(); abstract InputStream getInputStream(); abstract String getLocation(); int getMethod(); abstract String getName(); long getSize();  }### Answer:
@Test public void testGetMethod() { assertEquals(myMethod, myTestObject.getMethod()); }