### Question:
SigningConfig extends DefaultSigningConfig implements Serializable, Named,
        CoreSigningConfig { public SigningConfig initWith(com.android.builder.model.SigningConfig that) { setStoreFile(that.getStoreFile()); setStorePassword(that.getStorePassword()); setKeyAlias(that.getKeyAlias()); setKeyPassword(that.getKeyPassword()); setV1SigningEnabled(that.isV1SigningEnabled()); setV2SigningEnabled(that.isV2SigningEnabled()); setStoreType(that.getStoreType()); return this; } @Inject  SigningConfig(@NonNull String name); SigningConfig initWith(com.android.builder.model.SigningConfig that); @Override @InputFile @Optional File getStoreFile(); @Override @Input String getStorePassword(); @Override @Input String getKeyAlias(); @Override @Input String getKeyPassword(); @Override @Input String getStoreType(); @Override @Input boolean isV1SigningEnabled(); @Override @Input boolean isV2SigningEnabled(); @Override String toString();  }### Answer:
@Test public void testInitWith() throws Exception { CopyOfTester.assertAllGettersCalled( SigningConfig.class, new SigningConfig("original"), original -> { original.getName(); original.isSigningReady(); new SigningConfig("copy").initWith(original); }); }