### Question:
AdapterFactory { public BestRowIdentifierAdapter[] createBestRowIdentifierAdapter(BestRowIdentifier[] beans) { if (beans == null) { throw new IllegalArgumentException("BestRowIdentifier[] == null"); } BestRowIdentifierAdapter[] adapters = new BestRowIdentifierAdapter[beans.length]; for (int i = 0; i < beans.length; ++i) { adapters[i] = new BestRowIdentifierAdapter(beans[i]); } return adapters; } private  AdapterFactory(); static AdapterFactory getInstance(); BestRowIdentifierAdapter[] createBestRowIdentifierAdapter(BestRowIdentifier[] beans);  }### Answer:
@Test public void testCreateBestRowIdentifierAdapter() { BestRowIdentifier[] beans = new BestRowIdentifier[1]; beans[0] = mockHelper.createMock(BestRowIdentifier.class); assertNotNull(AdapterFactory.getInstance().createBestRowIdentifierAdapter(beans)); }