### Question:
PendingFederation { public boolean isComplete() { return this.publicKeys.size() >= MIN_FEDERATORS_REQUIRED; } PendingFederation(List<UldECKey> publicKeys); List<UldECKey> getPublicKeys(); boolean isComplete(); PendingFederation addPublicKey(UldECKey key); Federation buildFederation(Instant creationTime, long blockNumber, NetworkParameters uldParams); @Override String toString(); @Override boolean equals(Object other); Keccak256 getHash(); @Override int hashCode();  }### Answer:
@Test public void isComplete() { Assert.assertTrue(pendingFederation.isComplete()); }
@Test public void isComplete_not() { PendingFederation otherPendingFederation = new PendingFederation( Arrays.asList(new UldECKey[]{ UldECKey.fromPrivate(BigInteger.valueOf(200)), }) ); Assert.assertFalse(otherPendingFederation.isComplete()); }