### Question:
NodeDataProvider { public int getAttestationPoolSize() { return attestationPool.getSize(); } NodeDataProvider(final AggregatingAttestationPool attestationPool); int getAttestationPoolSize();  }### Answer:
@Test void getAttestationPoolSize_shouldAttestationPoolSize() { final NodeDataProvider nodeData = new NodeDataProvider(attestationPool); final int size = 123; when(attestationPool.getSize()).thenReturn(size); assertThat(nodeData.getAttestationPoolSize()).isEqualTo(size); }