### Question:
AMETICDummyAdapter extends BasicAuthServiceAdapter implements ExternalServiceAdapter { public String getAdapterName() { return AMETICDummyAdapter.adapterName; } AMETICDummyAdapter(); String getAdapterName(); @Override void _set(String attribute, Object value); @Override void _delete(String attribute); @Override ServiceResponse[] getRaw(String attribute); @Override Boolean isConnected(); final static String adapterName; }### Answer:
@Test public void testGetAdapterName() { AMETICDummyAdapter adapter; try { adapter = createAdapter(); assert (adapter.getAdapterName().equals("AMETICDummyAdapter")); } catch (ServiceNotAvailableException e) { e.printStackTrace(); fail ("Service not available: "+e.getMessage()); } }